i2c: Improve deprecation warnings
authorJean Delvare <khali@linux-fr.org>
Sun, 17 Apr 2011 08:20:19 +0000 (10:20 +0200)
committerJean Delvare <khali@endymion.delvare>
Sun, 17 Apr 2011 08:20:19 +0000 (10:20 +0200)
commita920ff41cb3d2b03da095c4fa1a11b71417ae2a4
tree4e6baaa16a9a50fc9caf75b8ced376613317ba84
parentd733ed6c34be3aef0517a04e4103eed6b369ec50
i2c: Improve deprecation warnings

When warning on the use of deprecated i2c_driver methods
attach_adapter and detach_adapter, mention the name of the driver
which needs to be updated.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/i2c/i2c-core.c