* [PATCH] HID: Allow HID_BATTERY_STRENGTH to be enabled
@ 2014-12-09 12:28 Daniel Nicoletti
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Nicoletti @ 2014-12-09 12:28 UTC (permalink / raw)
To: jkosina; +Cc: linux-input, linux-kernel, Daniel Nicoletti
Allows for HID_BATTERY_STRENGTH config be enabled
without the need for HID module to be built-in,
prior to this HID and POWER_SUPPLY had to be
equal, and now we only select POWER_SUPPLY and
depend on the HID module.
Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
---
drivers/hid/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index f42df4d..602ac07 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -27,7 +27,8 @@ if HID
config HID_BATTERY_STRENGTH
bool "Battery level reporting for HID devices"
- depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
+ depends on HID
+ select POWER_SUPPLY
default n
---help---
This option adds support of reporting battery strength (for HID devices
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] HID: Allow HID_BATTERY_STRENGTH to be enabled
@ 2014-12-17 13:53 Daniel Nicoletti
2014-12-17 16:25 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Nicoletti @ 2014-12-17 13:53 UTC (permalink / raw)
To: jkosina; +Cc: linux-input, linux-kernel, dantti12
Allows for HID_BATTERY_STRENGTH config be enabled
without the need for HID module to be built-in,
prior to this HID and POWER_SUPPLY had to be
equal, and now we only select POWER_SUPPLY and
depend on the HID module.
Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
---
drivers/hid/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index f42df4d..602ac07 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -27,7 +27,8 @@ if HID
config HID_BATTERY_STRENGTH
bool "Battery level reporting for HID devices"
- depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
+ depends on HID
+ select POWER_SUPPLY
default n
---help---
This option adds support of reporting battery strength (for HID devices
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] HID: Allow HID_BATTERY_STRENGTH to be enabled
2014-12-17 13:53 Daniel Nicoletti
@ 2014-12-17 16:25 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2014-12-17 16:25 UTC (permalink / raw)
To: Daniel Nicoletti; +Cc: linux-input, linux-kernel
On Wed, 17 Dec 2014, Daniel Nicoletti wrote:
> Allows for HID_BATTERY_STRENGTH config be enabled without the need for
> HID module to be built-in, prior to this HID and POWER_SUPPLY had to be
> equal, and now we only select POWER_SUPPLY and depend on the HID module.
>
> Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
Sorry for this taking too long. Now applied, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-17 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 12:28 [PATCH] HID: Allow HID_BATTERY_STRENGTH to be enabled Daniel Nicoletti
-- strict thread matches above, loose matches on Subject: below --
2014-12-17 13:53 Daniel Nicoletti
2014-12-17 16:25 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).