commit | cc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Sep 11 13:36:33 2012 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Sep 23 21:08:35 2012 -0700 |
tree | 3ee8c5464c89af8b79bca8fa5e9732dc78680cd0 | |
parent | e2d8c2b6de2db6d11afc661148b53691c2593f67 [diff] |
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>