hwmon: (asc7621) Clean up and improve detect function
authorJean Delvare <khali@linux-fr.org>
Sat, 14 Aug 2010 19:08:52 +0000 (21:08 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 14 Aug 2010 19:08:52 +0000 (21:08 +0200)
commit28cbd461f022e30dba555926b76625a35e194166
treeb5f4f40c39f8fd6cc84d247ad506985a8cd0dc23
parent738e5e05362bdbb31dbc270d31005c12cec8dbb2
hwmon: (asc7621) Clean up and improve detect function

* The dev variable is never used.
* Detect functions only need to set info->type, not client->name.
* Include the device address in the log message.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: George Joseph <george.joseph@fairview5.com>
Cc: Ken Milmore <ken.milmore@googlemail.com>
drivers/hwmon/asc7621.c