From: Jiri Kosina Date: Tue, 24 Apr 2012 08:51:30 +0000 (+0200) Subject: HID: add Kconfig text to HID_BATTERY_STRENGTH X-Git-Tag: upstream/snapshot3+hdmi~7432^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=692d30d63b80b174d0ed24bbffb7a1ea536d5fee;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git HID: add Kconfig text to HID_BATTERY_STRENGTH HID_BATTERY_STRENGTH is missing both help text and description text. Reported-by: Geert Uytterhoeven Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index ffddcba..a6f6b50 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -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"