diff options
author | Naveen Krishna Ch <ch.naveen@samsung.com> | 2014-04-25 11:14:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-26 11:19:40 +0100 |
commit | 3d821a1747a0abbb7a179af10188ad7ad9b35b72 (patch) | |
tree | 5e9f9612c77a55b6f293279543388ee1b79bc110 /mm/cleancache.c | |
parent | b9b3a41893c3f1be67b5aacfa525969914bea0e9 (diff) |
iio: exynos_adc: use indio_dev->dev structure to handle child nodes
Using pdev->dev with device_for_each_child() would iterate over all
of the children of the platform device and delete them.
Thus, causing crashes during module unload.
We should be using the indio_dev->dev structure for
registering/unregistering child nodes.
Reported-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/cleancache.c')
0 files changed, 0 insertions, 0 deletions