Re: [PATCH] mfd: core: Don't use devres functions before device is added
From: Mark Brown
Date: Thu Apr 24 2014 - 13:52:54 EST
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-devres versions of the supply alias functions and adds an unregister
> in mfd_remove_devices_fn.
Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature