diff options
author | 2009-06-19 16:58:20 +0200 | |
---|---|---|
committer | 2009-06-19 16:58:20 +0200 | |
commit | f18c41daea14baee11252da268cdf5dcd57c7c10 (patch) | |
tree | ec42ed7000fa64925db3cd596737bd54d9fa71ca /include/linux/i2c | |
parent | i2c: Add a sysfs interface to instantiate devices (diff) | |
download | wireguard-linux-f18c41daea14baee11252da268cdf5dcd57c7c10.tar.xz wireguard-linux-f18c41daea14baee11252da268cdf5dcd57c7c10.zip |
i2c: Use rwsem instead of mutex for board info
By using rwsem we can easily manage recursive calls of
i2c_scan_static_board_info() function without breaking the locking.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions