adt7475.c (b675b3667f6729dcd1036a2a129b35445947f905) | adt7475.c (99b8c83a7720da66c9054aa06f5c13c30555c17d) |
---|---|
1/* 2 * adt7475 - Thermal sensor driver for the ADT7475 chip and derivatives 3 * Copyright (C) 2007-2008, Advanced Micro Devices, Inc. 4 * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net> 5 * Copyright (C) 2008 Hans de Goede <hdegoede@redhat.com> 6 * Copyright (C) 2009 Jean Delvare <khali@linux-fr.org> 7 * 8 * Derived from the lm83 driver by Jean Delvare --- 1218 unchanged lines hidden (view full) --- 1227 sysfs_remove_group(&client->dev.kobj, &in5_attr_group); 1228 if (data->has_vid) 1229 sysfs_remove_group(&client->dev.kobj, &vid_attr_group); 1230} 1231 1232static int adt7475_probe(struct i2c_client *client, 1233 const struct i2c_device_id *id) 1234{ | 1/* 2 * adt7475 - Thermal sensor driver for the ADT7475 chip and derivatives 3 * Copyright (C) 2007-2008, Advanced Micro Devices, Inc. 4 * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net> 5 * Copyright (C) 2008 Hans de Goede <hdegoede@redhat.com> 6 * Copyright (C) 2009 Jean Delvare <khali@linux-fr.org> 7 * 8 * Derived from the lm83 driver by Jean Delvare --- 1218 unchanged lines hidden (view full) --- 1227 sysfs_remove_group(&client->dev.kobj, &in5_attr_group); 1228 if (data->has_vid) 1229 sysfs_remove_group(&client->dev.kobj, &vid_attr_group); 1230} 1231 1232static int adt7475_probe(struct i2c_client *client, 1233 const struct i2c_device_id *id) 1234{ |
1235 static const char *names[] = { | 1235 static const char * const names[] = { |
1236 [adt7473] = "ADT7473", 1237 [adt7475] = "ADT7475", 1238 [adt7476] = "ADT7476", 1239 [adt7490] = "ADT7490", 1240 }; 1241 1242 struct adt7475_data *data; 1243 int i, ret = 0, revision; --- 375 unchanged lines hidden --- | 1236 [adt7473] = "ADT7473", 1237 [adt7475] = "ADT7475", 1238 [adt7476] = "ADT7476", 1239 [adt7490] = "ADT7490", 1240 }; 1241 1242 struct adt7475_data *data; 1243 int i, ret = 0, revision; --- 375 unchanged lines hidden --- |