Re: [PATCH 10/15] mfd: motorola-cpcap: use devm_of_platform_populate()

From: Lee Jones
Date: Tue May 30 2017 - 06:04:10 EST


On Tue, 30 May 2017, Andy Shevchenko wrote:

> On Mon, May 29, 2017 at 6:45 PM, Benjamin Gaignard
> <benjamin.gaignard@xxxxxxxxxx> wrote:
> > Usage of devm_of_platform_populate() simplify driver code
> > by allowing to delete cpcap_remove().
>
> > - .remove = cpcap_remove,
>
> Can you remove module after that change?

Why wouldn't you?

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog