summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm70.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-09-11 22:36:33 +0200
committerGuenter Roeck <linux@roeck-us.net>2012-09-24 06:08:35 +0200
commitcc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5 (patch)
tree3ee8c5464c89af8b79bca8fa5e9732dc78680cd0 /drivers/hwmon/lm70.c
parenthwmon: Drop dependencies on EXPERIMENTAL (diff)
downloadlinux-cc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5.tar.xz
linux-cc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5.zip
hwmon: (adcxx) Simplify show_name function
Display device name using to_spi_device(dev)->modalias instead of computing it from the number of ADC channels. This is cleaner and reduces code size. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions