hwmon: (ftsteutates) Fix spelling typo

Change 'revsion' to 'revision'.

Signed-off-by: zuoqilin <zuoqilin@yulong.com>
Link: https://lore.kernel.org/r/20210318124637.1331-1-zuoqilin1@163.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
zuoqilin
2021-03-18 20:46:37 +08:00
committed by Guenter Roeck
parent c2d5f273c5
commit 23bc3caf42

View File

@ -713,7 +713,7 @@ static int fts_detect(struct i2c_client *client,
{ {
int val; int val;
/* detection works with revsion greater or equal to 0x2b */ /* detection works with revision greater or equal to 0x2b */
val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG); val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG);
if (val < 0x2b) if (val < 0x2b)
return -ENODEV; return -ENODEV;