]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: add debug info when class instantiation was dropped
authorWolfram Sang <wsa@the-dreams.de>
Thu, 10 Jul 2014 11:46:21 +0000 (13:46 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 16 Jul 2014 20:59:55 +0000 (22:59 +0200)
commit4555227211ae867d8f8ec9eb5182273f58b648c0
tree60b56c084c6a769b697111c4d13415518b33a380
parent5fddf5aac8d9caae67a31bb6e33dc933552a9c7f
i2c: add debug info when class instantiation was dropped

We have a warning already when support for old-fashioned class based
instantiation is about to be dropped somewhen soon from a driver. Let's
have another one when it was actually dropped. This allows to remove the
cruft a little earlier and still let users know what happened in the
rare case they are missing devices after the change. However, there is
enough interest to get rid of class based instantiation rather sooner
than later because it improves boot up time.

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