lkml.org 
[lkml]   [2017]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2017-05-30 09:29    [W:0.098 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site