Files
i2som-imx-linux/drivers/mfd
Charles Keepax af713fb8e7 mfd: Only unregister platform devices allocated by the mfd core
commit b9fbb62eb6 upstream.

mfd_remove_devices would iterate over all devices sharing a parent with
an mfd device regardless of whether they were allocated by the mfd core
or not. This especially caused problems when the device structure was
not contained within a platform_device, because to_platform_device is
used on each device pointer.

This patch defines a device_type for mfd devices and checks this is
present from mfd_remove_devices_fn before processing the device.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tested-by: Peter Tyser <ptyser@xes-inc.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:50:45 -08:00
..
2012-03-06 18:46:57 +01:00
2012-03-16 21:12:32 +01:00
2012-04-16 18:57:26 +02:00
2011-10-24 14:09:19 +02:00
2012-03-20 16:56:33 +01:00
2012-01-09 01:03:34 +01:00
2012-01-09 00:37:44 +01:00
2012-03-20 16:56:33 +01:00