hwmon: Fix debug messages in w83781d
authorJean Delvare <khali@linux-fr.org>
Fri, 13 Oct 2006 15:03:42 +0000 (17:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 20:03:09 +0000 (13:03 -0700)
commitbd452e6f178a559408c54c2b4ca29191b812d47f
treec6806233f5b112b6d0a094fbb435ce5cda017c2c
parente693810ce8495ce3e227dacaa83f501b3b8ab204
hwmon: Fix debug messages in w83781d

Fix debug messages in w83781d at detection time. We can't use dev_dbg()
on an i2c client's device before calling i2c_attach_client() on that
client.

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