hwmon: (adcxx) Simplify show_name function
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Sep 2012 20:36:33 +0000 (13:36 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Sep 2012 04:08:35 +0000 (21:08 -0700)
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>

No differences found