i2c: Unregister dummy devices last on adapter removal
Remove real devices first and dummy devices last. This gives device driver which instantiated dummy devices themselves a chance to clean them up before we do. Signed-off-by: NJean Delvare <khali@linux-fr.org> Tested-by: NHans Verkuil <hverkuil@xs4all.nl> Cc: stable@kernel.org
Showing
想要评论请 注册 或 登录