Re: [PATCH] mfd: Fix MACRO for commonly declared MFD cell attributes

From: Laxman Dewangan
Date: Wed Mar 09 2016 - 08:36:05 EST


Hi Lee,

On Wednesday 02 March 2016 06:38 PM, Lee Jones wrote:
On Mon, 29 Feb 2016, Laxman Dewangan wrote:

On Friday 26 February 2016 10:05 PM, Rhyland Klein wrote:
Did you not see warnings like this when you compiled the kernel? Did you
find a different approach than what I proposed above to deal with it?
I'd like to get this in soon so that when the max77620 drivers are all
in and using it, it should be functional.

I think the following change also crash in runtime:

/***
commit e60a946f05db2cac857025da6ffb72df48d3be54
Author: Lee Jones <lee.jones@xxxxxxxxxx>

mfd: ab8500: Provide a small example using new MFD cell MACROs

***/

Should we have something MFD_CELL_RES, MFD_CELL_RES_PDATA,
MFD_CELL_PDATA, for more common user and not to pass the NULL here.
I'll have a re-think about this.

Did you get chance to look into this? Probably, I need to send my mfd series once this get fixed before that series applied.