[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140428102624.GF21279@lee--X1>
Date: Mon, 28 Apr 2014 11:26:24 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Cc: sameo@...ux.intel.com, broonie@...nel.org, carlo@...one.org,
linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH] mfd: core: Don't use devres functions before device is
added
> 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.
>
> Reported-by: Carlo Caione <carlo@...one.org>
> Reported-by: Mark Brown <broonie@...nel.org>
> Signed-off-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
> ---
> drivers/mfd/mfd-core.c | 11 +++++++----
> 1 files changed, 7 insertions(+), 4 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists