Skip to content
Snippets Groups Projects
Commit 7ae31482 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

i2c: Export i2c_for_each_dev


Introduce i2c_for_each_dev(), an i2c device iterator with proper
locking for use by i2c-dev. This is needed so that we can get rid of
the attach_adapter and detach_adapter legacy callback functions.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 0c31f8e5
No related branches found
No related tags found
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