i2c: nomadik: Don't use IS_ERR for devm_ioremap
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 10 Apr 2014 14:19:29 +0000 (16:19 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 14 May 2014 16:14:35 +0000 (18:14 +0200)
commit37e5eb0bae7bb4d98c2153c3c3400b5c00c3cad1
tree30985b07cf32c1f053ebb46c1460817898cdaab9
parent47bb27e78867997040a228328f2a631c3c7f2c82
i2c: nomadik: Don't use IS_ERR for devm_ioremap

devm_ioremap() returns NULL on error, not an error.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-nomadik.c