ufs: use devres functions for ufshcd
This patch replaces normal calls for resource allocation with devm_*() derivative functions. It makes resource freeing simpler. Change-Id: I95a5d248b9db69b51fdeeeaf177695974851550e 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> [draviv@codeaurora.org: Fix conflict caused by patches reordering in ufshcd-pltfrm.c, add devm_ioremap_resource() declaration] Git-commit: 2953f850c3b80bdca004967c83733365d8aa0aa2 Git-repo: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git Signed-off-by:
Dolev Raviv <draviv@codeaurora.org>
Loading
Please register or sign in to comment