From: Alexander Stein Date: Sat, 12 Apr 2014 20:42:24 +0000 (-0700) Subject: Input: ads7846 - fix device usage within attribute show X-Git-Tag: omap-for-v3.16/pm-signed~60^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fdf4cd9a2afb113e566dfe6ee5df55ada8c0631;p=pandora-kernel.git Input: ads7846 - fix device usage within attribute show With commit e585c40ba (Input: ads7846 - convert to hwmon_device_register_with_groups()) the device passed to the attribute's show function isn't the spi device as before. So fixup the passed device to ads7846_read12_ser. Signed-off-by: Alexander Stein Acked-by: Guenter Roeck Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed