Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5530877e authored by Akinobu Mita's avatar Akinobu Mita Committed by Stephen Boyd
Browse files

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.

Change-Id: I5e6b1c60ea2f01812a13910e7a14bd5417e295c5
Signed-off-by: default avatarAkinobu Mita <mita@fixstars.com>
Cc: Seungwon Jeon <tgih.jun@samsung.com>
Cc: Vinayak Holikatti <vinholikatti@gmail.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: default avatarSantosh Y <santoshsy@gmail.com>
Patch-mainline: linux-scsi@vger.kernel.org @ 07/28/13, 08:10
Signed-off-by: default avatarDolev Raviv <draviv@codeaurora.org>
parent 674c7257
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment