[PATCH 1/5 v3] iio: exynos_adc: use indio_dev-dev structure to handle child nodes

2014-04-30 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com 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

Re: [PATCH 1/5 v3] iio: exynos_adc: use indio_dev-dev structure to handle child nodes

2014-04-30 Thread Jonathan Cameron
On 30/04/14 10:26, Naveen Krishna Chatradhi wrote: From: Naveen Krishna Ch ch.nav...@samsung.com 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