commit | 2fdf4cd9a2afb113e566dfe6ee5df55ada8c0631 | [log] [tgz] |
---|---|---|
author | Alexander Stein <alexanders83@web.de> | Sat Apr 12 13:42:24 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Apr 19 13:55:59 2014 -0700 |
tree | 35e240671fb564bfdcbbb0109fdbc083d0170a17 | |
parent | 06491e84f0f95dbe105b74fef32e7063e349f2d7 [diff] |
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 <alexanders83@web.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>