From: Guenter Roeck Date: Tue, 11 Sep 2012 20:34:29 +0000 (-0700) Subject: hwmon: (lm70) Simplify show_name function X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~72^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860f37319e9a1141b041ca2e77ca121dccde4b93;p=pandora-kernel.git 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 --- Reading git-diff-tree failed