Bug-fixes: lm78.c is now working!

Yes, our first chip driver is now fully operative. Some parts of it can
still be moved to sensors.o and reused by other drivers, but this can be
done later.

Bug fixes:
* i2c-core.c: Corrected previous patch (a client was now unloaded twice,
  which caused problems, as could be expected).
* lm78.c, sensors.c: some minor typos, which caused the crashes
* lm78.c: FAN_DIV only has two fields (fan 3 is not changable)
* sensors.c: ISA/SMBus addresses are prefixed with zeros in directory names


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@20 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-02 00:47:37 +00:00
1 parent 6ea68ba7a2
commit af7232145d
6 files changed
+59 -43

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* ------------------------------------------------------------------------- */
#define RCSID "$Id: i2c-core.c,v 1.4 1998/11/27 22:02:09 frodo Exp $"
#define RCSID "$Id: i2c-core.c,v 1.5 1998/12/01 21:11:32 frodo Exp $"
/* ------------------------------------------------------------------------- */
#include <linux/module.h>
@@ -248,7 +248,7 @@ int i2c_del_driver(struct i2c_driver *driver)
if (client != NULL && client->driver == driver) {
DEB2(printk("i2c: detaching client %s:\n",
client->name));
i2c_detach_client(client);
/* i2c_detach_client(client); */
driver->detach_client(client);
}
}