linux/drivers/staging/rts5208
Soumya Negi 84b52696b9 staging: rts5208: Remove macros scsi_lock(), scsi_unlock()
The scsi_lock() and scsi_unlock() macros protect the sm_state and the
single queue element srb for write access in the driver. As suggested,
these names are very generic. Remove the macros from header file and call
spin_lock_irq() & spin_unlock_irq() directly instead.

Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>
Link: https://lore.kernel.org/r/75a5990190cf7a5d20d1c27237b90b583e68ced8.1697152251.git.soumya.negi97@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-15 18:20:35 +02:00
..
general.c
general.h
Kconfig
Makefile
ms.c staging: rts5208: Added value check 2023-01-17 19:18:41 +01:00
ms.h
rtsx_card.c staging: rts5208: remove unnecessary parentheses in rtsx_card.c 2021-09-21 17:30:55 +02:00
rtsx_card.h
rtsx_chip.c staging: rts5208: remove unnecessary parentheses in rtsx_chip.c 2021-09-21 17:30:55 +02:00
rtsx_chip.h
rtsx_scsi.c staging: rts5208: remove unnecessary parentheses in rtsx_scsi.c 2021-09-21 17:30:55 +02:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: Convert kmap() to kmap_local_page() 2022-04-04 07:33:47 +02:00
rtsx_transport.h
rtsx.c staging: rts5208: Remove macros scsi_lock(), scsi_unlock() 2023-10-15 18:20:35 +02:00
rtsx.h staging: rts5208: Remove macros scsi_lock(), scsi_unlock() 2023-10-15 18:20:35 +02:00
sd.c staging: rts5208: Correct line ending with '(' 2023-07-27 10:00:19 +02:00
sd.h
spi.c staging: rts5208: spi.c: fix codestyle error in dynamic debug code 2022-06-06 07:53:49 +02:00
spi.h
TODO
xd.c staging: rts5208: remove unused xd_check_err_code function 2023-03-22 10:18:27 +01:00
xd.h