hwmon: Use platform_device_add_data()
authorJean Delvare <khali@linux-fr.org>
Sat, 9 Jun 2007 14:11:16 +0000 (10:11 -0400)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:12 +0000 (14:22 -0400)
commit2df6d811574f46bea0d38bf91aa54df4c05488cd
tree055b75e8cce2c052004eceff927ebd4b05a42bb9
parentf641b588fdfd25e73c73f6e4977cd2daf8a5e363
hwmon: Use platform_device_add_data()

Use platform_device_add_data() in hardware monitoring drivers. This
makes the code nicer and smaller too. Reported by David Hubbard.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Hubbard <david.c.hubbard@gmail.com>
drivers/hwmon/f71805f.c
drivers/hwmon/smsc47m1.c
drivers/hwmon/w83627hf.c