From: Graeme Smecher Date: Tue, 3 Apr 2012 23:42:21 +0000 (-0400) Subject: hwmon: (ad7314) Adds missing spi_dev initialization X-Git-Tag: v3.4-rc2~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e16de9137c8beab02d78fb4fa82bb96e9f3d0ac3;p=pandora-kernel.git hwmon: (ad7314) Adds missing spi_dev initialization This driver was recently moved from IIO (where it worked) to hwmon (where it doesn't.) This breakage occured because the hwmon version neglected to correctly initialize a reference to spi_dev in its drvdata. The result is a segfault every time the temperature is queried. Signed-off-by: Graeme Smecher Cc: stable@vger.kernel.org # 3.2+ Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed