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: NBen Dooks <ben-linux@fluff.org> Acked-by: NDmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
Showing
想要评论请 注册 或 登录