scsi: ufs: core: Change the module parameter macro of use_mcq_mode
authorKeoseong Park <keosung.park@samsung.com>
Thu, 27 Apr 2023 09:44:20 +0000 (18:44 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:19:20 +0000 (07:19 -0400)
commit9a4327fd8864ff78d97e9a3c3c3c992353d06fee
tree86e0958d12b9ece05dfb0c4a34682d23214336ee
parent2a954832015df3dc4266f73bed1b3c8b4cb9919b
scsi: ufs: core: Change the module parameter macro of use_mcq_mode

mcq_mode_ops uses only param_{set,get}_bool(). Therefore, convert
module_param_cb() to module_param() and remove the mcq_mode_ops.

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Link: https://lore.kernel.org/r/20230427094420epcms2p1043333a3e0c0cf58e66164e0b83b3b02@epcms2p1
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c