summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-logitech-hidpp.c
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2022-06-05 10:43:43 +0200
committerJiri Kosina <jkosina@suse.cz>2022-06-08 11:58:34 +0200
commit6431fd0151eca63d4c62c4e6bcc1913b5e26d028 (patch)
tree7ee280bbfff5b112ea4ae45c992af25a1bc4d3fb /drivers/hid/hid-logitech-hidpp.c
parentHID: uclogic: properly format kernel-doc comment for hid_dbg() wrappers (diff)
downloadlinux-6431fd0151eca63d4c62c4e6bcc1913b5e26d028.tar.xz
linux-6431fd0151eca63d4c62c4e6bcc1913b5e26d028.zip
HID: logitech-hidpp: Fix syntax errors in comments
Delete the redundant word 'in'. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-logitech-hidpp.c')
-rw-r--r--drivers/hid/hid-logitech-hidpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 81de88ab2ecc..68f9e9d207f4 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -1694,7 +1694,7 @@ static int hidpp_battery_get_property(struct power_supply *psy,
val->strval = hidpp->hid_dev->uniq;
break;
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
- /* hardware reports voltage in in mV. sysfs expects uV */
+ /* hardware reports voltage in mV. sysfs expects uV */
val->intval = hidpp->battery.voltage * 1000;
break;
case POWER_SUPPLY_PROP_CHARGE_TYPE: