On Fri, Feb 24, 2017 at 9:26 AM, Benjamin Gaignard
wrote:
> 2017-02-24 16:20 GMT+01:00 Rob Herring :
>> On Fri, Feb 24, 2017 at 9:13 AM, Benjamin Gaignard
>> wrote:
>>> 2017-02-24 15:17 GMT+01:00 Rob Herring
On Fri, Feb 24, 2017 at 9:13 AM, Benjamin Gaignard
wrote:
> 2017-02-24 15:17 GMT+01:00 Rob Herring :
>> On Fri, Feb 17, 2017 at 8:31 AM, Benjamin Gaignard
>> wrote:
>>> Lost of calls to of_platform_populate() are not
2017-02-24 16:20 GMT+01:00 Rob Herring :
> On Fri, Feb 24, 2017 at 9:13 AM, Benjamin Gaignard
> wrote:
>> 2017-02-24 15:17 GMT+01:00 Rob Herring :
>>> On Fri, Feb 17, 2017 at 8:31 AM, Benjamin Gaignard
>>>
2017-02-24 15:17 GMT+01:00 Rob Herring :
> On Fri, Feb 17, 2017 at 8:31 AM, Benjamin Gaignard
> wrote:
>> Lost of calls to of_platform_populate() are not unbalanced by a call
>
> s/Lost/Lots/
>
>> to of_platform_depopulate(). This create issues
On Fri, Feb 17, 2017 at 8:31 AM, Benjamin Gaignard
wrote:
> Lost of calls to of_platform_populate() are not unbalanced by a call
s/Lost/Lots/
> to of_platform_depopulate(). This create issues while drivers are
> bind/unbind.
>
> In way to solve those issues is to
Lost of calls to of_platform_populate() are not unbalanced by a call
to of_platform_depopulate(). This create issues while drivers are
bind/unbind.
In way to solve those issues is to add devm_of_platform_populate()
which will call of_platform_depopulate() when the device is unbound
from the bus.