OSDN Git Service

mmc: meson-mx-sdio: Cleanup IS_ERR() checks
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Oct 2017 11:20:49 +0000 (14:20 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:50:31 +0000 (11:50 +0100)
commit2f129d39adb37899dec2c872bea0a6d1034f4325
tree81504ddae71c3373d92e9e36eaeb7f591cfe42ba
parent7599b8493292ae28295127f617148b1c7394c27d
mmc: meson-mx-sdio: Cleanup IS_ERR() checks

Using PTR_ERR_OR_ZERO() instead of IS_ERR() works, but it's not how
you're supposed to write these conditions.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-mx-sdio.c