scsi: core: Clean up struct ufs_saved_pwr_info
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 30 Mar 2023 01:29:18 +0000 (09:29 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 3 Apr 2023 01:14:45 +0000 (21:14 -0400)
commit543a827b1db3ef0a123dc7a48e8feb6585eae0a6
treef846a278cbbf8d8da52e48426090ed5ba6665f29
parentf467b865cf5b25aac3feee3fb5e25b90f5df35c4
scsi: core: Clean up struct ufs_saved_pwr_info

The "is_valid" field of the struct ufs_saved_pwr_info is no longer used,
and this struct can be replaced by struct ufs_pa_layer_attr without any
changes to the functionality.

Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Link: https://lore.kernel.org/r/20230330012918.13748-1-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h