From: Adrian Bunk Date: Sat, 20 Sep 2008 08:25:20 +0000 (+0200) Subject: hwmon: (ad7414) Make ad7414_update_device() static X-Git-Tag: firefly_0821_release~17961^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d130d97154f5342973a0fffc0b5a144359273c79;p=firefly-linux-kernel-4.4.55.git hwmon: (ad7414) Make ad7414_update_device() static This patch makes the needlessly global ad7414_update_device() static. Signed-off-by: Adrian Bunk Acked-by: Sean MacLennan Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c index ce8d94fbfd7e..bfda8c80ef24 100644 --- a/drivers/hwmon/ad7414.c +++ b/drivers/hwmon/ad7414.c @@ -69,7 +69,7 @@ static inline int ad7414_write(struct i2c_client *client, u8 reg, u8 value) return i2c_smbus_write_byte_data(client, reg, value); } -struct ad7414_data *ad7414_update_device(struct device *dev) +static struct ad7414_data *ad7414_update_device(struct device *dev) { struct i2c_client *client = to_i2c_client(dev); struct ad7414_data *data = i2c_get_clientdata(client);