summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-07-09 07:35:00 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-07-14 16:07:17 +0300
commit8ddfe4108e0a160f078adc96827e3809beb4d451 (patch)
tree1497855d919c8e6456e0593e1179d56275e03645 /lib/mpi/mpiutil.c
parentd3b11d8380d05e3121e2694af0dd95e7f63399bd (diff)
downloadlinux-8ddfe4108e0a160f078adc96827e3809beb4d451.tar.xz
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions