From: Guenter Roeck Date: Tue, 11 Sep 2012 20:36:33 +0000 (-0700) Subject: hwmon: (adcxx) Simplify show_name function X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~72^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc00e4ddbf00d5ee6d8b7df6d4b04d98f3d99af5;p=pandora-kernel.git hwmon: (adcxx) Simplify show_name function Display device name using to_spi_device(dev)->modalias instead of computing it from the number of ADC channels. This is cleaner and reduces code size. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed