mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-12 16:50:15 +00:00
to lower case "lm87" in SENSORS_INSMOD_1 and printk's.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@979 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5bca9ebda4
commit
5ddbf65092
1 file changed
+5
-5
+5
-5
@@ -88,7 +88,7 @@ static unsigned int normal_isa[] = { SENSORS_ISA_END };
|
||||
static unsigned int normal_isa_range[] = { SENSORS_ISA_END };
|
||||
|
||||
/* Insmod parameters */
|
||||
SENSORS_INSMOD_1(LM87);
|
||||
SENSORS_INSMOD_1(lm87);
|
||||
|
||||
/* The following is the calculation for the register offset
|
||||
* for the monitored items minimum and maximum locations.
|
||||
@@ -493,7 +493,7 @@ int LM87_detach_client(struct i2c_client *client)
|
||||
|
||||
if ((err = i2c_detach_client(client))) {
|
||||
printk
|
||||
("LM87.o: Client deregistration failed, client not detached.\n");
|
||||
("lm87.o: Client deregistration failed, client not detached.\n");
|
||||
return err;
|
||||
}
|
||||
|
||||
@@ -1030,12 +1030,12 @@ int __init sensors_LM87_init(void)
|
||||
{
|
||||
int res;
|
||||
|
||||
printk("LM87.o version %s (%s)\n", LM_VERSION, LM_DATE);
|
||||
printk("lm87.o version %s (%s)\n", LM_VERSION, LM_DATE);
|
||||
LM87_initialized = 0;
|
||||
|
||||
if ((res = i2c_add_driver(&LM87_driver))) {
|
||||
printk
|
||||
("LM87.o: Driver registration failed, module not inserted.\n");
|
||||
("lm87.o: Driver registration failed, module not inserted.\n");
|
||||
LM87_cleanup();
|
||||
return res;
|
||||
}
|
||||
@@ -1050,7 +1050,7 @@ int __init LM87_cleanup(void)
|
||||
if (LM87_initialized >= 1) {
|
||||
if ((res = i2c_del_driver(&LM87_driver))) {
|
||||
printk
|
||||
("LM87.o: Driver deregistration failed, module not removed.\n");
|
||||
("lm87.o: Driver deregistration failed, module not removed.\n");
|
||||
return res;
|
||||
}
|
||||
LM87_initialized--;
|
||||
|
||||
Reference in new issue
Block a user