All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [2.6 patch] make ad7414_update_device() static
@ 2008-08-10 21:08 Adrian Bunk
  2008-08-10 23:46 ` Sean MacLennan
  2008-08-11  7:05 ` Jean Delvare
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-08-10 21:08 UTC (permalink / raw)
  To: lm-sensors

This patch makes the needlessly global ad7414_update_device() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
aa3c1d5758663dffa995ae2a0a21fa7b172c371c 
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index ce8d94f..bfda8c8 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);


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-11  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-10 21:08 [lm-sensors] [2.6 patch] make ad7414_update_device() static Adrian Bunk
2008-08-10 23:46 ` Sean MacLennan
2008-08-11  7:05 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.