mmc: s3cmci: Fix platform_get_irq's error checking
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 19 Nov 2017 04:52:44 +0000 (10:22 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 15 Dec 2017 08:13:16 +0000 (09:13 +0100)
commit928635c114adefc58aeb1a9f9615cd9d3c24e3e4
tree045f400b3f5826c4983ebb2d58aa8ba6e1bbc2c6
parentcbcaac6d7dd209f2077480f4297e131c8b90d223
mmc: s3cmci: Fix platform_get_irq's error checking

The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.

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