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

Skip to content
Commit 48118b65 authored by Seungwon Jeon's avatar Seungwon Jeon Committed by Stephen Boyd
Browse files

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: default avatarSeungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: default avatarSantosh Y <santoshsy@gmail.com>
Signed-off-by: default avatarJames 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: default avatarDolev Raviv <draviv@codeaurora.org>
parent 122a91fa
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