]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit96ee41993b5b25ee0fbde2d4dcaac1f8c5ef5cc4
treea0a505a06dd75d98885af9b45cebe3ff585410f4
parentc9272c4f9fbe2087beb3392f526dc5b19efaa56b
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