Re: [PATCH] mfd: core: Don't use devres functions before device is added

2014-04-28 Thread Lee Jones
> The supply aliases for the MFD devices were being added using devres but > the device hasn't been added at this point and as such we can't use > devres. > > The MFD already has a function that removes devices this patch uses the > non-devres versions of the supply alias functions and adds an unr

Re: [PATCH] mfd: core: Don't use devres functions before device is added

2014-04-24 Thread Mark Brown
On Thu, Apr 24, 2014 at 06:27:25PM +0100, Charles Keepax wrote: > The supply aliases for the MFD devices were being added using devres but > the device hasn't been added at this point and as such we can't use > devres. > The MFD already has a function that removes devices this patch uses the > non

[PATCH] mfd: core: Don't use devres functions before device is added

2014-04-24 Thread Charles Keepax
The supply aliases for the MFD devices were being added using devres but the device hasn't been added at this point and as such we can't use devres. The MFD already has a function that removes devices this patch uses the non-devres versions of the supply alias functions and adds an unregister in m