]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Use to_platform_device instead of container_of
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jul 2008 16:26:42 +0000 (18:26 +0200)
committerSamuel Ortiz <sameo@openedhand.com>
Mon, 28 Jul 2008 16:26:42 +0000 (18:26 +0200)
commitd7d19146aedee9a5c72e4bec0cb3d15911453452
treea0a505a06dd75d98885af9b45cebe3ff585410f4
parentd4eb0ab3479cc2370cdfbe0739c343a23b9bf488
mfd: Use to_platform_device instead of container_of

Convert mfd_remove_devices_fn() to use to_platform_device()
instead of doing container_of().

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/mfd-core.c