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>
Loading
Please register or sign in to comment