hwmon: (lm70) Simplify show_name function
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Sep 2012 20:34:29 +0000 (13:34 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Sep 2012 04:08:35 +0000 (21:08 -0700)
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>

No differences found