linux-next/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 staging: rts5208: remove unneeded header include path 2020-01-10 10:58:30 +01:00
ms.c staging: rts5208: Added value check 2023-01-17 19:18:41 +01:00
ms.h staging: rts5208: Eliminate the use of Camel Case in files ms.{h, c} 2019-11-01 10:53:16 +01:00
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 staging: rts5208: Eliminate the use of Camel Case in file sd.h 2019-11-01 10:55:10 +01:00
spi.c staging: rts5208: spi.c: fix codestyle error in dynamic debug code 2022-06-06 07:53:49 +02:00
spi.h
TODO staging: Add missing newline at end of file 2019-06-18 08:59:40 +02:00
xd.c staging: rts5208: remove unused xd_check_err_code function 2023-03-22 10:18:27 +01:00
xd.h staging: rts5208: Eliminate the use of Camel Case in files xd.{h, c} 2019-11-01 10:55:09 +01:00