mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
Introduced /proc/sys/dev/sensors/chips file
See doc/sysctl for an explanation why it is needed. Also fixed two very small cleanup bugs in lm75/lm78, which would probably be impossible to trigger anyway, but still. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@51 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
a28dc58524
commit
2e4f147647
10 files changed
+225
-13
No files matched your search
+1
-1
@@ -331,8 +331,8 @@ int lm75_cleanup(void)
|
||||
printk("lm75.o: Driver deregistration failed, module not removed.\n");
|
||||
return res;
|
||||
}
|
||||
} else
|
||||
lm75_initialized --;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
+1
-2
@@ -878,9 +878,8 @@ int lm78_cleanup(void)
|
||||
printk("lm78.o: Driver deregistration failed, module not removed.\n");
|
||||
return res;
|
||||
}
|
||||
} else
|
||||
lm78_initialized --;
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user