aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufshcd-pltfrm.c
diff options
context:
space:
mode:
authorAkinobu Mita <mita@fixstars.com>2013-07-30 00:36:01 +0530
committerJames Bottomley <JBottomley@Parallels.com>2013-08-26 12:51:27 +0400
commit36f4f3b672748e7d9786ef1e0ae5caefd337b668 (patch)
treeac1fa61c58261a1c5a9a6e87bd606d4d7a665262 /drivers/scsi/ufs/ufshcd-pltfrm.c
parent62694735ca95c74dac4eb9068d59801ac0ddebaf (diff)
[SCSI] ufshcd-pci: release ioremapped region during removing driver
Before commit 2953f850c3b80bdca004967c83733365d8aa0aa2 ("[SCSI] ufs: use devres functions for ufshcd"), UFSHCI register was ioremapped by each glue-driver (ufshcd-pltfrm and ufshcd-pci) during probing and it was iounmapped by core-driver during removing driver. The commit converted ufshcd-pltfrm to use devres functions, but it didn't convert ufshcd-pci. Therefore, the change causes ufshcd-pci driver not to iounmap UFSHCI register region during removing driver. This fixes it by converting ufshcd-pci to use devres functions. Signed-off-by: Akinobu Mita <mita@fixstars.com> Signed-off-by: Santosh Y <santoshsy@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd-pltfrm.c')
0 files changed, 0 insertions, 0 deletions