linux/arch/cris/arch-v10/drivers
Julia Lawall 9be48a94b8 It looks at least odd to apply spin_unlock to a mutex.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@def@
declarer DEFINE_MUTEX;
identifier m;
@@

DEFINE_MUTEX(m);

@@
identifier def.m;
@@

(
- spin_lock(&m)
+ mutex_lock(&m)
|
- spin_unlock(&m)
+ mutex_unlock(&m)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2008-06-29 22:50:56 +02:00
..
axisflashmap.c CRIS v10: Update and improve axisflashmap.c 2008-02-08 11:06:26 +01:00
ds1302.c CRIS v10: Change name of low voltage read and set macros. 2008-02-08 11:06:33 +01:00
eeprom.c CRIS v10: Cleanup drivers/eeprom.c to avoid import conflicts. 2008-02-08 11:06:29 +01:00
gpio.c CRIS v10: Cleanup of drivers/gpio.c 2008-02-08 11:16:45 +01:00
i2c.c CRIS v10: Fix bugs in i2c_init and i2c_readreg 2008-02-08 11:06:29 +01:00
i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file. 2008-02-08 11:08:06 +01:00
Makefile CRIS v10: Add synchronous serial port driver for CRIS v10. 2008-02-08 11:06:31 +01:00
pcf8563.c It looks at least odd to apply spin_unlock to a mutex. 2008-06-29 22:50:56 +02:00
sync_serial.c CRIS v10: Add synchronous serial port driver for CRIS v10. 2008-02-08 11:06:31 +01:00