]> err.no Git - linux-2.6/commit
i2c: Warn on i2c client creation failure
authorJean Delvare <khali@linux-fr.org>
Sun, 3 Sep 2006 20:25:04 +0000 (22:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 22:38:52 +0000 (15:38 -0700)
commit114fd18397eb0eacf51ac784f7d5c929b8499715
tree902287737d800a5bcfa382419e48f98f7ed502fe
parent7eff82c8b1511017ae605f0c99ac275a7e21b867
i2c: Warn on i2c client creation failure

i2c: Warn on i2c client creation failure

Warn when an i2c client creation fails. If we don't, the user will
never know something wrong happened, as i2c client creation is
typically called through an attach_adapter callback, those return value
we currently ignore for technical reasons.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-core.c