]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d403dc10b2da1cb8c4bf8c9edee772fcf2af551
tree81504ddae71c3373d92e9e36eaeb7f591cfe42ba
parent8e00c8b7b5bcba29e3b86d06aa7e60a4c0e92944
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