Messages in this thread | | | From | Benjamin Gaignard <> | Date | Tue, 30 May 2017 09:29:02 +0200 | Subject | Re: [PATCH 10/15] mfd: motorola-cpcap: use devm_of_platform_populate() |
| |
2017-05-30 0:07 GMT+02:00 Andy Shevchenko <andy.shevchenko@gmail.com>: > On Mon, May 29, 2017 at 6:45 PM, Benjamin Gaignard > <benjamin.gaignard@linaro.org> 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
| |