i2c: nomadik: match status to return type of read_i2c
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Feb 2015 12:34:43 +0000 (07:34 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 15 Mar 2015 09:51:13 +0000 (10:51 +0100)
commitf87b53a0858ea69e65d7f19573907a60b2e32e66
tree2ed16a20c110ac01ae44d6234f6727b430caa71b
parent9bb9fee9e9423082ff23f21257bfc68b5eacd504
i2c: nomadik: match status to return type of read_i2c

return type of read_i2c() is int not u32. As the assignments to status
are consistent with int here its type is changed to int.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nomadik.c