[PATCH] I2C: drivers/i2c/chips/adm1026.c: use dynamic sysfs callbacks
authorYani Ioannou <yani.ioannou@gmail.com>
Sun, 5 Jun 2005 08:51:46 +0000 (10:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:36 +0000 (15:15 -0700)
commit050480f12aeab62d39a1a07546606a47217ebefa
treeffae2c627f613c6da54599f0752d38039c22a011
parent0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f
[PATCH] I2C: drivers/i2c/chips/adm1026.c: use dynamic sysfs callbacks

Finally (phew!) this patch demonstrates how to adapt the adm1026 to
take advantage of the new callbacks, and the i2c-sysfs.h defined
structure/macros. Most of the other sensor/hwmon drivers could be
updated in the same way. The odd few exceptions (bmcsensors for
example) however might be better off with their own custom attribute
structure.

Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/adm1026.c