mmc: sunxi-mmc: Handle return value of platform_get_irq
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 19 Nov 2017 04:52:47 +0000 (10:22 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 15 Dec 2017 08:13:16 +0000 (09:13 +0100)
commit2408a08583d2711f43716b79cb879df66ad407dc
tree8faa32d218d2fcad3fb797bff51a5e0f77ad6031
parent682798a596a6f3ffe796ebbf6a9396bed6dc6de2
mmc: sunxi-mmc: Handle return value of platform_get_irq

platform_get_irq() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c