mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
(Kyösti)
* removed algorithm registration in i2c-isa * renamed i2c-via2.o to i2c-viapro.o in the driver messages * added detection for new drivers in sensors-detect script * minor gl518sm fix git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@522 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
a5ab0a6b6e
commit
8861601cc2
5 files changed
+55
-47
No files matched your search
@@ -455,6 +455,7 @@ void gl518_init_client(struct i2c_client *client)
|
||||
int gl518_detach_client(struct i2c_client *client)
|
||||
{
|
||||
int err,i;
|
||||
struct gl518_data *data = client->data;
|
||||
|
||||
sensors_deregister_entry(((struct gl518_data *)(client->data))->sysctl_id);
|
||||
|
||||
@@ -471,6 +472,11 @@ int gl518_detach_client(struct i2c_client *client)
|
||||
return -ENOENT;
|
||||
}
|
||||
gl518_list[i] = NULL;
|
||||
|
||||
if (data->thread) {
|
||||
data->quit_thread = 1;
|
||||
wake_up_interruptible(&data->wq);
|
||||
}
|
||||
|
||||
kfree(client);
|
||||
|
||||
|
||||
Reference in new issue
Block a user