Skip to content
Commit 2fdf4cd9 authored by Alexander Stein's avatar Alexander Stein Committed by Dmitry Torokhov
Browse files

Input: ads7846 - fix device usage within attribute show



With commit e585c40b (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: default avatarAlexander Stein <alexanders83@web.de>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 06491e84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment