diff mbox

PATCH change for HID_BATTERY_STRENGTH kconfig

Message ID CACo8zOfAf3cUNh4MZcQvYByiu=D5S1aA4qiH_HFuvz5GYMJF7g@mail.gmail.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Daniel Nicoletti May 13, 2013, 9:43 p.m. UTC
Hi,
I'd like to propose this patch while removes the need for
hid to be compiled build-in, as this is the same behavior
that WiiMote and Wacom have.
Is this ok?

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Jiri Kosina May 23, 2013, 10:16 p.m. UTC | #1
On Mon, 13 May 2013, Daniel Nicoletti wrote:

> Hi,
> I'd like to propose this patch while removes the need for
> hid to be compiled build-in, as this is the same behavior
> that WiiMote and Wacom have.
> Is this ok?

Makes sense to me. Could you please resend with proper changelog and 
Signed-off-by: line?

Thanks.
diff mbox

Patch

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index fb52f3f..d6d85ad 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