projects
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
hwmon: (ad7314) Adds missing spi_dev initialization
[linux-3.10.git]
/
drivers
/
hwmon
/
ad7314.c
diff --git
a/drivers/hwmon/ad7314.c
b/drivers/hwmon/ad7314.c
index
0e0cfcc
..
ce43642
100644
(file)
--- a/
drivers/hwmon/ad7314.c
+++ b/
drivers/hwmon/ad7314.c
@@
-128,6
+128,7
@@
static int __devinit ad7314_probe(struct spi_device *spi_dev)
ret = PTR_ERR(chip->hwmon_dev);
goto error_remove_group;
}
+ chip->spi_dev = spi_dev;
return 0;
error_remove_group: