Re: [PATCH 10/15] mfd: motorola-cpcap: use devm_of_platform_populate()
From: Benjamin Gaignard
Date: Tue May 30 2017 - 03:29:09 EST
2017-05-30 0:07 GMT+02:00 Andy Shevchenko <andy.shevchenko@xxxxxxxxx>:
> 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?
yes you can, it will be done by driver default function and
of_platform_depopulate() will be called after
>
> --
> With Best Regards,
> Andy Shevchenko