Re: [PATCH v2] mfd: Only unregister platform devices allocated bythe mfd core

From: Mark Brown
Date: Fri Nov 09 2012 - 11:40:04 EST


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.

Reviewed-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature