Skip to content
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
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