hwmon: (ads2828) Only keep data in device data structure if needed
authorGuenter Roeck <linux@roeck-us.net>
Fri, 16 Jan 2015 18:12:50 +0000 (10:12 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 2 Feb 2015 16:20:06 +0000 (08:20 -0800)
The variables diff_input, ext_vref, and vref_mv are only used in the probe
function and therefore don't need to be kept in the device data structure.

Reviewed-and-Tested-by: Robert Rosengren <robert.rosengren@axis.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ads7828.c

Simple merge