From d4fe780d207c6a167b7c38c4d342a323e5aa0da4 Mon Sep 17 00:00:00 2001 From: Kyosti Malkki Date: Thu, 18 Nov 1999 23:42:12 +0000 Subject: [PATCH] =?UTF-8?q?(Ky=C3=B6sti)=20=20-=20SiS=205595=20patches,=20?= =?UTF-8?q?thanks=20to=20Olaf=20Titz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@632 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/sis5595.c | 1 - prog/sensors/main.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/chips/sis5595.c b/kernel/chips/sis5595.c index 65a3318b..4a339417 100644 --- a/kernel/chips/sis5595.c +++ b/kernel/chips/sis5595.c @@ -478,7 +478,6 @@ int sis5595_read_value(struct i2c_client *client, u8 reg) { int res; - down((struct semaphore *) (client->data)); down(& (((struct sis5595_data *) (client->data)) -> lock)); outb_p(reg,client->addr + SIS5595_ADDR_REG_OFFSET); res = inb_p(client->addr + SIS5595_DATA_REG_OFFSET); diff --git a/prog/sensors/main.c b/prog/sensors/main.c index fb21d61a..5645b8c5 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -258,7 +258,7 @@ void do_a_print(sensors_chip_name name) !strcmp(name.prefix,"lm81")) print_adm9240(&name); else if (!strcmp(name.prefix,"lm78") || !strcmp(name.prefix,"lm78-j") || - !strcmp(name.prefix,"lm79") || !strcmp(name.prefix,"sis5595")) + !strcmp(name.prefix,"lm79")) print_lm78(&name); else if (!strcmp(name.prefix,"sis5595")) print_sis5595(&name);