diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2017-02-24 17:14:33 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-27 17:20:13 +0100 |
commit | 38b0b219fbe89d824213beabf03bfb00b5d2c8fa (patch) | |
tree | 094323ec9a2ac237ee06895ff0806f1e5e317d76 /security | |
parent | drm: Add a new connector atomic property for link status (diff) | |
download | linux-38b0b219fbe89d824213beabf03bfb00b5d2c8fa.tar.xz linux-38b0b219fbe89d824213beabf03bfb00b5d2c8fa.zip |
of: add devm_ functions for populate and depopulate
Lots 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.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1487952874-23635-2-git-send-email-benjamin.gaignard@linaro.org
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions