summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs.h
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2014-04-25 11:14:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-04-26 11:19:40 +0100
commit3d821a1747a0abbb7a179af10188ad7ad9b35b72 (patch)
tree5e9f9612c77a55b6f293279543388ee1b79bc110 /fs/squashfs/squashfs.h
parentb9b3a41893c3f1be67b5aacfa525969914bea0e9 (diff)
downloadlinux-3d821a1747a0abbb7a179af10188ad7ad9b35b72.tar.gz
linux-3d821a1747a0abbb7a179af10188ad7ad9b35b72.tar.bz2
linux-3d821a1747a0abbb7a179af10188ad7ad9b35b72.zip
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 'fs/squashfs/squashfs.h')
0 files changed, 0 insertions, 0 deletions