Restore controlling_mod argument to i2c_register_entry(). This

is needed to properly lock chip drivers in memory while anyone uses their
/proc entries. This also brings back compatibility with the 2.4 Linux
kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2784 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-12-04 21:18:34 +00:00
1 parent 30e56573c6
commit 7683ac84a4
53 files changed
+100 -54

No files matched your search

+1 -1
View File
@@ -681,7 +681,7 @@ int pc87360_detect(struct i2c_adapter *adapter, int address,
}
if ((i = i2c_register_entry((struct i2c_client *) new_client,
type_name, template)) < 0) {
type_name, template, THIS_MODULE)) < 0) {
err = i;
goto ERROR2;
}