]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Improve logging on failure to probe for ->class devices
authorAndy Lutomirski <luto@amacapital.net>
Wed, 17 Jul 2013 20:27:59 +0000 (13:27 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Aug 2013 12:49:58 +0000 (14:49 +0200)
commitf17241b36618d4e4cdd9bea4d163f770ce4a88ba
tree7b8c8e14cc079f9ae347a487ab88fb1adfbe9971
parentd0c7ae0992f40500b228aad9e407cf2211d40cea
i2c: Improve logging on failure to probe for ->class devices

While writing the i2c-imc driver, I noticed that the warning message
when the i2c core can't figure out how to probe is mostly useless.
This trivial patch improves it.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c