gl518sm.c (310ec79210d754afe51e2e4a983e846b60179abd) | gl518sm.c (c3813d6af177fab19e322f3114b1f64fbcf08d71) |
---|---|
1/* 2 * gl518sm.c - Part of lm_sensors, Linux kernel modules for hardware 3 * monitoring 4 * Copyright (C) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and 5 * Kyosti Malkki <kmalkki@cc.hut.fi> 6 * Copyright (C) 2004 Hong-Gunn Chew <hglinux@gunnet.org> and 7 * Jean Delvare <khali@linux-fr.org> 8 * --- 148 unchanged lines hidden (view full) --- 157 .class = I2C_CLASS_HWMON, 158 .driver = { 159 .name = "gl518sm", 160 }, 161 .probe = gl518_probe, 162 .remove = gl518_remove, 163 .id_table = gl518_id, 164 .detect = gl518_detect, | 1/* 2 * gl518sm.c - Part of lm_sensors, Linux kernel modules for hardware 3 * monitoring 4 * Copyright (C) 1998, 1999 Frodo Looijaard <frodol@dds.nl> and 5 * Kyosti Malkki <kmalkki@cc.hut.fi> 6 * Copyright (C) 2004 Hong-Gunn Chew <hglinux@gunnet.org> and 7 * Jean Delvare <khali@linux-fr.org> 8 * --- 148 unchanged lines hidden (view full) --- 157 .class = I2C_CLASS_HWMON, 158 .driver = { 159 .name = "gl518sm", 160 }, 161 .probe = gl518_probe, 162 .remove = gl518_remove, 163 .id_table = gl518_id, 164 .detect = gl518_detect, |
165 .address_data = &addr_data, | 165 .address_list = normal_i2c, |
166}; 167 168/* 169 * Sysfs stuff 170 */ 171 172#define show(type, suffix, value) \ 173static ssize_t show_##suffix(struct device *dev, struct device_attribute *attr, char *buf) \ --- 524 unchanged lines hidden --- | 166}; 167 168/* 169 * Sysfs stuff 170 */ 171 172#define show(type, suffix, value) \ 173static ssize_t show_##suffix(struct device *dev, struct device_attribute *attr, char *buf) \ --- 524 unchanged lines hidden --- |