diff options
| author | Johan Hovold <johan@kernel.org> | 2025-12-19 12:05:45 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-12-21 17:00:30 +0000 |
| commit | ea6b4feba85e996e840e0b661bc42793df6eb701 (patch) | |
| tree | e9af7e66401f9efad49839accbc635f4d40ec6c5 /include/uapi/linux/patchkey.h | |
| parent | 441ac29923c9172bc5e4b2c4f52ae756192f5715 (diff) | |
iio: adc: exynos_adc: fix OF populate on driver rebind
Since commit c6e126de43e7 ("of: Keep track of populated platform
devices") child devices will not be created by of_platform_populate()
if the devices had previously been deregistered individually so that the
OF_POPULATED flag is still set in the corresponding OF nodes.
Switch to using of_platform_depopulate() instead of open coding so that
the child devices are created if the driver is rebound.
Fixes: c6e126de43e7 ("of: Keep track of populated platform devices")
Cc: stable@vger.kernel.org # 3.16
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
