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:
Frodo Looijaard committed 1998-11-27 00:26:51 +00:00
1 parent 4d0ef54c3c
commit c26eff1184
13 files changed
+332 -34

No files matched your search

+2 -2
View File
@@ -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;
}