2014-11-28 13:31:16

by Karol Wrona

[permalink] [raw]
Subject: [PATCH] power: max14577: Remove SYSFS dependency from Kconfig

This is only a small clean-up. The driver can be built without SYSFS
as there exist stubs for used functions.

Signed-off-by: Karol Wrona <[email protected]>
---
drivers/power/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 0108c2a..69fa8a9 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -327,7 +327,6 @@ config CHARGER_MANAGER
config CHARGER_MAX14577
tristate "Maxim MAX14577/77836 battery charger driver"
depends on MFD_MAX14577
- depends on SYSFS
help
Say Y to enable support for the battery charger control sysfs and
platform data of MAX14577/77836 MUICs.
--
1.7.9.5


2014-11-28 13:35:21

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] power: max14577: Remove SYSFS dependency from Kconfig

On piÄ…, 2014-11-28 at 14:23 +0100, Karol Wrona wrote:
> This is only a small clean-up. The driver can be built without SYSFS
> as there exist stubs for used functions.
>
> Signed-off-by: Karol Wrona <[email protected]>
> ---
> drivers/power/Kconfig | 1 -
> 1 file changed, 1 deletion(-)

Seems fine to me.
Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

>
> diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
> index 0108c2a..69fa8a9 100644
> --- a/drivers/power/Kconfig
> +++ b/drivers/power/Kconfig
> @@ -327,7 +327,6 @@ config CHARGER_MANAGER
> config CHARGER_MAX14577
> tristate "Maxim MAX14577/77836 battery charger driver"
> depends on MFD_MAX14577
> - depends on SYSFS
> help
> Say Y to enable support for the battery charger control sysfs and
> platform data of MAX14577/77836 MUICs.