[PATCH] scsi: ufs: Power off hook for Cadence UFS driver

From: Sheeba B
Date: Mon Dec 16 2019 - 06:24:17 EST


Attach Power off hook on Cadence UFS driver

Signed-off-by: Sheeba B <sheebab@xxxxxxxxxxx>
---
drivers/scsi/ufs/cdns-pltfrm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c
index 1c80f9633da6..56a6a1ed5ec2 100644
--- a/drivers/scsi/ufs/cdns-pltfrm.c
+++ b/drivers/scsi/ufs/cdns-pltfrm.c
@@ -325,6 +325,7 @@ static const struct dev_pm_ops cdns_ufs_dev_pm_ops = {
static struct platform_driver cdns_ufs_pltfrm_driver = {
.probe = cdns_ufs_pltfrm_probe,
.remove = cdns_ufs_pltfrm_remove,
+ .shutdown = ufshcd_pltfrm_shutdown,
.driver = {
.name = "cdns-ufshcd",
.pm = &cdns_ufs_dev_pm_ops,
--
2.17.1