Bugfix for w83781d.c: unloading of w83783s now works.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@823 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 2000-06-21 20:34:50 +00:00
1 parent 827ee918d8
commit 78d4aac923
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -251,6 +251,12 @@ int lm75_detach_client(struct i2c_client *client)
{
int err;
#ifdef MODULE
if (MOD_IN_USE)
return -EBUSY;
#endif
sensors_deregister_entry(((struct lm75_data *) (client->data))->
sysctl_id);
+1 -1
View File
@@ -992,7 +992,7 @@ int w83781d_detach_client(struct i2c_client *client)
(((struct
w83781d_data *) (client->data))->
lm75[0]));
if((((struct w83781d_data *) (client->data))->type) != w83783s);
if((((struct w83781d_data *) (client->data))->type) != w83783s)
i2c_detach_client(&
(((struct
w83781d_data *) (client->data))->