commit | 860f37319e9a1141b041ca2e77ca121dccde4b93 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Sep 11 13:34:29 2012 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Sep 23 21:08:35 2012 -0700 |
tree | 55c1d127794cd5d6a3466b904c27cabab5af6c82 | |
parent | cc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5 [diff] |
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>