make ad7414_update_device() static
PATCH 1/1 make ad7414_update_device() static
This patch makes the needlessly global ad7414_update_device() static.
---aa3c1d5758663dffa995ae2a0a21fa7b172c371c
drivers/hwmon/ad7414.c +1 -1
@@ -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);
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 3 lines · On Mon, 11 Aug 2008 00:08:36 +0300 "Adrian Bunk" <[email protected]> wrote:
This patch makes the needlessly global
ad7414_update_device()static.Signed-off-by Adrian Bunk <[email protected]>
Sorry, my mistake. This is a leftover from when I was calling this function from another driver.
Cheers,
Sean
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 11 lines · Sean MacLennan
Quoted 3 lines · On Mon, 11 Aug 2008 00:08:36 +0300 "Adrian Bunk" <[email protected]> wrote:
This patch makes the needlessly global
ad7414_update_device()static.Signed-off-by Adrian Bunk <[email protected]>Sorry, my mistake. This is a leftover from when I was calling this function from another driver.
Acked-by Sean MacLennan <[email protected]>
Added to jdelvare-hwmon for 2.6.28.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors