]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Switch to aggregate initialization
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Apr 2022 22:57:56 +0000 (15:57 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:02 +0000 (23:23 -0400)
commit22e16ac01b9a96e0325ca83bab1c5ac540f1312b
tree8839fff9cf97ccc32f2b89e101530f28bca7c17c
parentd64102f0c773f9aee04f5a2b7e0a299408986068
scsi: ufs: Switch to aggregate initialization

Make it easier to verify for humans that ufshcd_init_pwr_dev_param()
initializes all structure members. This patch does not change any
functionality.

Link: https://lore.kernel.org/r/20220419225811.4127248-14-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd-pltfrm.c