On Sat, 28 Mar 2009 09:07:56 +0100, Hans de Goede wrote: > This patch adds support for the FSC Syleus IC to the fschmd driver. > > Many thanks to Fujitsu Siemens Computers for providing docs and a machine to > test the driver on. > (...) You forgot to update this part: > @@ -1126,7 +1225,7 @@ static int fschmd_remove(struct i2c_clie > if (data->hwmon_dev) > hwmon_device_unregister(data->hwmon_dev); > > - for (i = 0; i < ARRAY_SIZE(fschmd_attr); i++) > + for (i = 0; i < (FSCHMD_NO_VOLT_SENSORS[data->kind] + 1); i++) > device_remove_file(&client->dev, &fschmd_attr[i].dev_attr); > for (i = 0; i < (FSCHMD_NO_TEMP_SENSORS[data->kind] * 4); i++) > device_remove_file(&client->dev, Didn't you try unloading the driver? I guess this would break. The rest looks OK. I'll fix it up myself. -- Jean Delvare