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)
commitd63a9e851c2c007d9129b8dbfc1af24722bd18bd
tree7b8c8e14cc079f9ae347a487ab88fb1adfbe9971
parentd654b5489eb4950cddf6d72a5c3a2fb1cab4f15b
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