i2c: Warn on deprecated binding model use
authorJean Delvare <khali@linux-fr.org>
Mon, 26 Jan 2009 20:19:57 +0000 (21:19 +0100)
committerJean Delvare <khali@linux-fr.org>
Mon, 26 Jan 2009 20:19:57 +0000 (21:19 +0100)
commit5fb4523afbffae5a5cec4989ee4c9fbc3dbdef33
tree498c51141686d9e7c645e4d1b98f435e1faaeb14
parentdd7f8dbe2b3c0611ba969cd867c10cb63d163e25
i2c: Warn on deprecated binding model use

Let the kernel developers know that i2c_attach_client() and
i2c_detach_client() are deprecated and should no longer be used.
Drivers using these should be converted to the standard device
driver binding model (probe and remove methods.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
include/linux/i2c.h