Skip to content
Commit cc00e4dd authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent e2d8c2b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment