i2c-smbus: Use device_lock/device_unlock
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Mar 2010 05:04:45 +0000 (16:04 +1100)
committerJean Delvare <khali@linux-fr.org>
Sat, 13 Mar 2010 19:56:51 +0000 (20:56 +0100)
commitf635a1e74bd6001f06fe1df53d32daf2b28bf04b
tree14d4556054ac6deaea1060ebb0a9b2a3fb5bd766
parentdaf9fe2ee9a203c4fc555cfe5c5f3d9f660e743c
i2c-smbus: Use device_lock/device_unlock

Use the new device locking/unlocking API.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-smbus.c