Hi Charles, On Fri, Nov 09, 2012 at 04:15:28PM +0000, Charles Keepax wrote: > 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 <[email protected]> > --- > drivers/mfd/mfd-core.c | 15 +++++++++++++-- > 1 files changed, 13 insertions(+), 2 deletions(-) Thanks a lot, patch applied to my for-next branch.
Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

