[SCSI] ufs: use devres functions for ufshcd
authorSeungwon Jeon <tgih.jun@samsung.com>
Thu, 27 Jun 2013 04:31:54 +0000 (13:31 +0900)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 28 Jun 2013 20:11:28 +0000 (13:11 -0700)
commit2953f850c3b80bdca004967c83733365d8aa0aa2
treede80e56c2a9f42ab51bb50d05c40c31ed643a454
parent3ca316c582ddf11944806a27e460e7bd8f61a968
[SCSI] ufs: use devres functions for ufshcd

This patch replaces normal calls for resource allocation with devm_*()
derivative functions. It makes resource freeing simpler.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd-pci.c
drivers/scsi/ufs/ufshcd-pltfrm.c
drivers/scsi/ufs/ufshcd.c