commit | 531db50170a3e6d113c968fe7a6dda8d55d02ede | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Fri Aug 24 16:52:45 2018 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Aug 30 23:13:30 2018 +0200 |
tree | 3b82501f6551d3566d7243c8a405aa68f684b635 | |
parent | 82fe39a6bc7b866fc3ffd838e3c5a4cadb328b04 [diff] |
i2c: sh_mobile: define start_ch() void as it only returns 0 anyhow After various refactoring over the years, start_ch() doesn't return errno anymore, so make the function return void. This saves the error handling when calling it which in turn eases cleanup of resources of a future patch. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>