projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: SVM: Only save/restore MSRs when needed
[powerpc.git]
/
drivers
/
macintosh
/
windfarm_lm75_sensor.c
diff --git
a/drivers/macintosh/windfarm_lm75_sensor.c
b/drivers/macintosh/windfarm_lm75_sensor.c
index
423bfa2
..
ab4d1b6
100644
(file)
--- a/
drivers/macintosh/windfarm_lm75_sensor.c
+++ b/
drivers/macintosh/windfarm_lm75_sensor.c
@@
-15,7
+15,6
@@
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/i2c.h>
-#include <linux/i2c-dev.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/io.h>
@@
-177,7
+176,7
@@
static int wf_lm75_attach(struct i2c_adapter *adapter)
for (dev = NULL;
(dev = of_get_next_child(busnode, dev)) != NULL;) {
const char *loc =
for (dev = NULL;
(dev = of_get_next_child(busnode, dev)) != NULL;) {
const char *loc =
- get_property(dev, "hwsensor-location", NULL);
+
of_
get_property(dev, "hwsensor-location", NULL);
u8 addr;
/* We must re-match the adapter in order to properly check
u8 addr;
/* We must re-match the adapter in order to properly check