Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-26 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 5:38 PM, Lee Jones wrote: > mfd: Provide MACRO to declare commonly defined MFD cell attributes > Commit message? > +#define MFD_ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) What's wrong with ARRAY_SIZE() ? > + > +#define MFD_CELL_ALL(_name,

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-26 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 5:38 PM, Lee Jones wrote: > mfd: Provide MACRO to declare commonly defined MFD cell attributes > Commit message? > +#define MFD_ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) What's wrong with ARRAY_SIZE() ? > + > +#define MFD_CELL_ALL(_name, _res, _pdata, _id,

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Lee Jones
On Thu, 11 Feb 2016, Laxman Dewangan wrote: > > On Thursday 11 February 2016 02:40 PM, Lee Jones wrote: > >On Wed, 10 Feb 2016, Laxman Dewangan wrote: > > > >>On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: > >>>mfd: Provide MACRO to declare commonly defined MFD cell attributes > >>>Cc:

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Laxman Dewangan
On Thursday 11 February 2016 02:40 PM, Lee Jones wrote: On Wed, 10 Feb 2016, Laxman Dewangan wrote: On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones Build passed with

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Lee Jones
On Wed, 10 Feb 2016, Laxman Dewangan wrote: > > On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: > >mfd: Provide MACRO to declare commonly defined MFD cell attributes > >Cc: Laxman Dewangan > >Signed-off-by: Lee Jones > > Build passed with this patch when using it. > > Acked-by:

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Lee Jones
On Wed, 10 Feb 2016, Laxman Dewangan wrote: > > On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: > >mfd: Provide MACRO to declare commonly defined MFD cell attributes > >Cc: Laxman Dewangan > >Signed-off-by: Lee Jones > > Build passed with

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Laxman Dewangan
On Thursday 11 February 2016 02:40 PM, Lee Jones wrote: On Wed, 10 Feb 2016, Laxman Dewangan wrote: On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-11 Thread Lee Jones
On Thu, 11 Feb 2016, Laxman Dewangan wrote: > > On Thursday 11 February 2016 02:40 PM, Lee Jones wrote: > >On Wed, 10 Feb 2016, Laxman Dewangan wrote: > > > >>On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: > >>>mfd: Provide MACRO to declare commonly defined MFD cell attributes > >>>Cc:

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-10 Thread Laxman Dewangan
On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones Build passed with this patch when using it. Acked-by: Laxman Dewangan Please let me know if you applying this. I

[PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-10 Thread Lee Jones
mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones --- include/linux/mfd/core.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index

[PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-10 Thread Lee Jones
mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones --- include/linux/mfd/core.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/linux/mfd/core.h

Re: [PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-10 Thread Laxman Dewangan
On Wednesday 10 February 2016 09:08 PM, Lee Jones wrote: mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones Build passed with this patch when using it. Acked-by: Laxman Dewangan