Skip to content
Commit 7f444bf0 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (ads2828) Only keep data in device data structure if needed



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: default avatarRobert Rosengren <robert.rosengren@axis.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent bea0bab0
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