diff options
author | Szymon Mielczarek <szymonx.mielczarek@intel.com> | 2017-06-05 11:36:54 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-13 03:48:08 +0300 |
commit | 566ec9ad315b46e7056472f4cd1d1b79bbad62da (patch) | |
tree | 6bae459c17ddbb361873b2af5f2e7b856b83ad58 /drivers/scsi/scsi_lib.c | |
parent | 6ff8a3b2a1e9ad5f0b559e7ef3b991918ef1caf9 (diff) | |
download | linux-566ec9ad315b46e7056472f4cd1d1b79bbad62da.tar.xz |
scsi: ufs: Tidy clocks list head usage
Move the initialization of clocks list head to ufshcd_alloc_host() so
that every driver doesn't have to do it. Remove checks for the list head
being NULL because that is not possible.
Signed-off-by: Szymon Mielczarek <szymonx.mielczarek@intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions