From bf055191f1148b3df861f1e209066d91f3e4e0b0 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 4 Oct 2003 19:48:12 +0000 Subject: [PATCH] Cosmetic fixes backported from Linux 2.6.0-test6. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2010 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/lm83.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/chips/lm83.c b/kernel/chips/lm83.c index 689bce7e..0a00738e 100644 --- a/kernel/chips/lm83.c +++ b/kernel/chips/lm83.c @@ -1,7 +1,7 @@ /* * lm83.c - Part of lm_sensors, Linux kernel modules for hardware * monitoring - * Copyright (c) 2003 Jean Delvare + * Copyright (C) 2003 Jean Delvare * * Heavily inspired from the lm78, lm75 and adm1021 drivers. The LM83 is * a sensor chip made by National Semiconductor. It reports up to four @@ -119,6 +119,7 @@ static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned short flags, int kind); static void lm83_init_client(struct i2c_client *client); static int lm83_detach_client(struct i2c_client *client); +static void lm83_update_client(struct i2c_client *client); static void lm83_temp(struct i2c_client *client, int operation, int ctl_name, int *nrels_mag, long *results); static void lm83_tcrit(struct i2c_client *client, int operation, int @@ -136,7 +137,7 @@ static struct i2c_driver lm83_driver = { .id = I2C_DRIVERID_LM83, .flags = I2C_DF_NOTIFY, .attach_adapter = lm83_attach_adapter, - .detach_client = lm83_detach_client + .detach_client = lm83_detach_client, }; /* @@ -221,7 +222,6 @@ static int lm83_attach_adapter(struct i2c_adapter *adapter) * The following function does more than just detection. If detection * succeeds, it also registers the new chip. */ - static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned short flags, int kind) {