i2c: sh_mobile: allow setup callback to return errno
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Dec 2017 21:57:57 +0000 (22:57 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 16:58:45 +0000 (17:58 +0100)
commit12742b6ac1215496a60fcf33d1d8397af7512840
tree2d04350abb51dfb4f70487992756115bbd0c1ad4
parent9e422131167583092a560c1ac4837a12aa11da96
i2c: sh_mobile: allow setup callback to return errno

The setup callback will be more generic and, thus, need to be able to
return error codes. Change the return type to 'int' for that.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c