mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
Start of i2c-bus, a module for displaying i2c bus information in /proc
Nothing much here yet, except some code to create /proc/bus/i2c. Should work for kernels 2.0 and 2.1 (please test). Other notable things: printk statements in all modules made to have to same 'look'. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@15 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
4d0ef54c3c
commit
c26eff1184
13 files changed
+332
-34
No files matched your search
+2
-2
@@ -65,7 +65,7 @@ int piix4_init(void)
|
||||
#endif
|
||||
piix4_initialized = 0;
|
||||
if ((res = piix4_setup())) {
|
||||
printk("piix4.o: PIIX4 not detected, module not inserted\n");
|
||||
printk("piix4.o: PIIX4 not detected, module not inserted.\n");
|
||||
piix4_cleanup();
|
||||
return res;
|
||||
}
|
||||
@@ -75,7 +75,7 @@ int piix4_init(void)
|
||||
piix4_adapter.algo = &smbus_algorithm;
|
||||
piix4_adapter.smbus_access = &piix4_access;
|
||||
if ((res = smbus_add_adapter(&piix4_adapter))) {
|
||||
printk("piix4.o: smbus_add_adapter failed, module not inserted\n");
|
||||
printk("piix4.o: Adapter registration failed, module not inserted.\n");
|
||||
piix4_cleanup();
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user