]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
HID: add Kconfig text to HID_BATTERY_STRENGTH
authorJiri Kosina <jkosina@suse.cz>
Tue, 24 Apr 2012 08:51:30 +0000 (10:51 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 24 Apr 2012 08:51:30 +0000 (10:51 +0200)
HID_BATTERY_STRENGTH is missing both help text and description text.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig

index ffddcba32af62b637baa09fd9487f515451fca4f..a6f6b50b67af985cdbcc47327fe16b3f8cf67e29 100644 (file)
@@ -32,9 +32,13 @@ config HID
          If unsure, say Y.
 
 config HID_BATTERY_STRENGTH
-       bool
+       bool "Battery level reporting for HID devices"
        depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
        default n
+       ---help---
+       This option adds support of reporting battery strength (for HID devices
+       that support this feature) through power_supply class so that userspace
+       tools, such as upower, can display it.
 
 config HIDRAW
        bool "/dev/hidraw raw HID device support"