Skip to content
Commit 5219bf88 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Tested-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Cc: stable@kernel.org
parent 891cc228
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment