Commit 860f3731 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (lm70) Simplify show_name function



Instead of using a switch statement to determine the device name, use
to_spi_device(dev)->modalias to simplify the code and reduce module size.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent cc00e4dd
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