Files
linux/drivers/iio/adc
Johan Hovold ea6b4feba8 iio: adc: exynos_adc: fix OF populate on driver rebind
Since commit c6e126de43 ("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: c6e126de43 ("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>
2025-12-21 17:00:30 +00:00
..
2025-03-11 19:08:56 +00:00
2024-11-03 20:33:44 +00:00
2025-06-26 19:32:52 +01:00
2025-04-22 19:10:04 +01:00
2024-09-30 09:21:02 +01:00
2025-04-22 19:10:04 +01:00
2025-10-20 18:51:04 +01:00
2025-04-22 19:10:04 +01:00
2025-09-13 15:00:48 +01:00