diff mbox series

[v10,02/11] mfd: simple-mfd-i2c: Add a Kconfig name

Message ID 20210807103940.152-3-alistair@alistair23.me
State Superseded
Headers show
Series Add support for the silergy,sy7636a | expand

Commit Message

Alistair Aug. 7, 2021, 10:39 a.m. UTC
Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lee Jones Aug. 10, 2021, 7:53 a.m. UTC | #1
On Sat, 07 Aug 2021, Alistair Francis wrote:

You need a better commit message.

What are you doing?
Why are you doing it?
What happens if you don't do it?

> Signed-off-by: Alistair Francis <alistair@alistair23.me>

> ---

>  drivers/mfd/Kconfig | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)


I guess there's no harm in it.

That does mean you'll need a bespoke defconfig to run your build,
which is not advisable for generic maintenance and testing purposes.
What architecture does your H/W operate on?

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig

> index 6a3fd2d75f96..09a939f8b7ff 100644

> --- a/drivers/mfd/Kconfig

> +++ b/drivers/mfd/Kconfig

> @@ -1176,7 +1176,7 @@ config MFD_SI476X_CORE

>  	  module will be called si476x-core.

>  

>  config MFD_SIMPLE_MFD_I2C

> -	tristate

> +	tristate "Simple MFD device"


That's not right.  You're saying:

  "Simple Multi-Functional Device device"

It should be something more like:

  "Simple Multi-Functional Device support (I2C)"

>  	depends on I2C

>  	select REGMAP_I2C

>  	help


-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Alistair Francis Aug. 15, 2021, 11:55 a.m. UTC | #2
On Tue, Aug 10, 2021 at 5:53 PM Lee Jones <lee.jones@linaro.org> wrote:
>

> On Sat, 07 Aug 2021, Alistair Francis wrote:

>

> You need a better commit message.

>

> What are you doing?

> Why are you doing it?

> What happens if you don't do it?

>

> > Signed-off-by: Alistair Francis <alistair@alistair23.me>

> > ---

> >  drivers/mfd/Kconfig | 2 +-

> >  1 file changed, 1 insertion(+), 1 deletion(-)

>

> I guess there's no harm in it.

>

> That does mean you'll need a bespoke defconfig to run your build,

> which is not advisable for generic maintenance and testing purposes.

> What architecture does your H/W operate on?


My hardware uses the ARMv7 i.MX architecture. I'm testing it with the
`imx_v6_v7_defconfig` config.

Alistair

>

> > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig

> > index 6a3fd2d75f96..09a939f8b7ff 100644

> > --- a/drivers/mfd/Kconfig

> > +++ b/drivers/mfd/Kconfig

> > @@ -1176,7 +1176,7 @@ config MFD_SI476X_CORE

> >         module will be called si476x-core.

> >

> >  config MFD_SIMPLE_MFD_I2C

> > -     tristate

> > +     tristate "Simple MFD device"

>

> That's not right.  You're saying:

>

>   "Simple Multi-Functional Device device"

>

> It should be something more like:

>

>   "Simple Multi-Functional Device support (I2C)"

>

> >       depends on I2C

> >       select REGMAP_I2C

> >       help

>

> --

> Lee Jones [李琼斯]

> Senior Technical Lead - Developer Services

> Linaro.org │ Open source software for Arm SoCs

> Follow Linaro: Facebook | Twitter | Blog
diff mbox series

Patch

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6a3fd2d75f96..09a939f8b7ff 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1176,7 +1176,7 @@  config MFD_SI476X_CORE
 	  module will be called si476x-core.
 
 config MFD_SIMPLE_MFD_I2C
-	tristate
+	tristate "Simple MFD device"
 	depends on I2C
 	select REGMAP_I2C
 	help