commit | 8ddfe4108e0a160f078adc96827e3809beb4d451 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa-dev@sang-engineering.com> | Sat Jul 09 13:35:00 2016 +0900 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jul 14 22:07:17 2016 +0900 |
tree | 1497855d919c8e6456e0593e1179d56275e03645 | |
parent | d3b11d8380d05e3121e2694af0dd95e7f63399bd [diff] |
i2c: improve error messages in i2c_register_adapter() Switch to WARN if no adapter name is given, otherwise we won't know who missed to do that. Add error message if device registration fails. Update error message for missing algo to match style of the others. Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>