hwmon: Use helper functions to set and get driver data
authorJean Delvare <khali@linux-fr.org>
Wed, 25 May 2011 18:43:31 +0000 (20:43 +0200)
committerJean Delvare <khali@endymion.delvare>
Wed, 25 May 2011 18:43:31 +0000 (20:43 +0200)
commit95de3b257516d21af6e0313c7bab119e4f80d6f4
tree818026064f6a1602e08521f5adaed3aed6313013
parentbc1f419c76a2d6450413ce4349f4e4a07be011d5
hwmon: Use helper functions to set and get driver data

Use helper functions to set and get driver data. This is more elegant.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/adcxx.c
drivers/hwmon/ibmaem.c
drivers/hwmon/k10temp.c
drivers/hwmon/k8temp.c
drivers/hwmon/lm70.c
drivers/hwmon/ultra45_env.c