X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-3.10.git;a=blobdiff_plain;f=drivers%2Fhwmon%2Fad7314.c;h=ce43642ef03e9f9c50a7c5441c095dfbd0793148;hp=0e0cfcc36f8d8f0cd656e482d526f31c299fc9ec;hb=e16de9137c8beab02d78fb4fa82bb96e9f3d0ac3;hpb=fbc729a446f7d80ec8b73fe90d8c0cc3e95ad277 diff --git a/drivers/hwmon/ad7314.c b/drivers/hwmon/ad7314.c index 0e0cfcc..ce43642 100644 --- 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: