summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/exynos4_tmu.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-09-11 22:34:29 +0200
committerGuenter Roeck <linux@roeck-us.net>2012-09-24 06:08:35 +0200
commit860f37319e9a1141b041ca2e77ca121dccde4b93 (patch)
tree55c1d127794cd5d6a3466b904c27cabab5af6c82 /drivers/hwmon/exynos4_tmu.c
parenthwmon: (adcxx) Simplify show_name function (diff)
downloadlinux-860f37319e9a1141b041ca2e77ca121dccde4b93.tar.xz
linux-860f37319e9a1141b041ca2e77ca121dccde4b93.zip
hwmon: (lm70) Simplify show_name function
Instead of using a switch statement to determine the device name, use to_spi_device(dev)->modalias to simplify the code and reduce module size. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/exynos4_tmu.c')
0 files changed, 0 insertions, 0 deletions