commit | 69be9264e35c107a262bcda6909ca1bcb0b1524c | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sat Sep 07 14:25:31 2019 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Sep 30 22:51:01 2019 -0400 |
tree | 4f088b6038e7cdfd9ce373e85c47fc70896140e3 | |
parent | 7e52440c81aa2cf200102072e337ab6b11c331ef [diff] |
scsi: ufs-hisi: Use PTR_ERR_OR_ZERO() in ufs_hisi_get_resource() Simplify this function implementation by using a known function. Generated by: scripts/coccinelle/api/ptr_ret.cocci [mkp: applied by hand] Link: https://lore.kernel.org/r/9e667f19-434e-ed30-78cb-9ddc6323c51e@web.de Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>