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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment