diff options
| author | Naveen Krishna Ch <[email protected]> | 2014-04-25 10:14:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2014-04-26 10:19:40 +0000 |
| commit | 3d821a1747a0abbb7a179af10188ad7ad9b35b72 (patch) | |
| tree | 5e9f9612c77a55b6f293279543388ee1b79bc110 /tools/perf/scripts/python/sched-migration.py | |
| parent | iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference (diff) | |
| download | kernel-3d821a1747a0abbb7a179af10188ad7ad9b35b72.tar.gz kernel-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 <[email protected]>
Signed-off-by: Naveen Krishna Ch <[email protected]>
Reviewed-by: Doug Anderson <[email protected]>
Tested-by: Doug Anderson <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
