mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: drop "select PMIC_DA9055"
@ 2013-03-09 16:32 Paul Bolle
  2013-04-09  7:10 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2013-03-09 16:32 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel

The Kconfig entry for DA9055 PMIC Support selects PMIC_DA9055. That was
probably inspired by the similar select statement in the entry for
DA9052/53 PMIC with I2C. But the DA9055 PMIC only comes in an I2C
variant and its driver doesn't need a separate Kconfig symbol for shared
code. In any case, this select can be dropped as PMIC_DA9055 doesn't
exist.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Tested with "git grep" only.

1) Note that the DA9052 and DA9055 drivers all have code for module
support, but their Kconfig entries only allow them to be builtin. Can't
these entries be made tristate? If not, shouldn't the code for module
support be removed?

 drivers/mfd/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 671f5b1..cdff6dd 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -487,7 +487,6 @@ config MFD_DA9055
 	bool "Dialog Semiconductor DA9055 PMIC Support"
 	select REGMAP_I2C
 	select REGMAP_IRQ
-	select PMIC_DA9055
 	select MFD_CORE
 	depends on I2C=y && GENERIC_HARDIRQS
 	help
-- 
1.7.11.7


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: drop "select PMIC_DA9055"
  2013-03-09 16:32 [PATCH] mfd: drop "select PMIC_DA9055" Paul Bolle
@ 2013-04-09  7:10 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2013-04-09  7:10 UTC (permalink / raw)
  To: Paul Bolle; +Cc: linux-kernel

Hi Paul,

On Sat, Mar 09, 2013 at 05:32:34PM +0100, Paul Bolle wrote:
> The Kconfig entry for DA9055 PMIC Support selects PMIC_DA9055. That was
> probably inspired by the similar select statement in the entry for
> DA9052/53 PMIC with I2C. But the DA9055 PMIC only comes in an I2C
> variant and its driver doesn't need a separate Kconfig symbol for shared
> code. In any case, this select can be dropped as PMIC_DA9055 doesn't
> exist.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> 0) Tested with "git grep" only.
> 
> 1) Note that the DA9052 and DA9055 drivers all have code for module
> support, but their Kconfig entries only allow them to be builtin. Can't
> these entries be made tristate? If not, shouldn't the code for module
> support be removed?
> 
>  drivers/mfd/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
Patch applied to mfd-next, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-09  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-09 16:32 [PATCH] mfd: drop "select PMIC_DA9055" Paul Bolle
2013-04-09  7:10 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®