i2c-bfin-twi: Remove useless twi_lock mutex
authorFrancis Moreau <francis.moro@gmail.com>
Sat, 13 Oct 2007 21:56:31 +0000 (23:56 +0200)
committerJean Delvare <khali@hyperion.delvare>
Sat, 13 Oct 2007 21:56:31 +0000 (23:56 +0200)
commit567a244b8b431ee8399bb43c7e65df605bdd5458
treeb5df403c110f241981a83399b36ad5b740781e64
parente07bc679fbf59f1bf569d443e286911319480e87
i2c-bfin-twi: Remove useless twi_lock mutex

Remove this unneeded mutex. Indeed it was used to serialize access to
the hardware, but this is already done by the i2c-core layer, see
'bus_lock' mutex used by i2c_transfer().

Signed-off-by: Francis Moreau <francis.moro@gmail.com>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-bfin-twi.c