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:
Guenter Roeck <linux@roeck-us.net>
Loading
Please register or sign in to comment