Skip to content
Commit 96ee4199 authored by Ben Dooks's avatar Ben Dooks Committed by Samuel Ortiz
Browse files

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: default avatarBen Dooks <ben-linux@fluff.org>
Acked-by: default avatarDmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@openedhand.com>
parent c9272c4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment