瀏覽代碼

HID: add Kconfig text to HID_BATTERY_STRENGTH

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>
Jiri Kosina 13 年之前
父節點
當前提交
692d30d63b
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      drivers/hid/Kconfig

+ 5 - 1
drivers/hid/Kconfig

@@ -32,9 +32,13 @@ config HID
 	  If unsure, say Y.
 	  If unsure, say Y.
 
 
 config HID_BATTERY_STRENGTH
 config HID_BATTERY_STRENGTH
-	bool
+	bool "Battery level reporting for HID devices"
 	depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
 	depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
 	default n
 	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
 config HIDRAW
 	bool "/dev/hidraw raw HID device support"
 	bool "/dev/hidraw raw HID device support"