summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/tegra-cpufreq.c
diff options
context:
space:
mode:
authorMichal Nazarewicz2013-11-29 18:09:07 +0100
committerMark Brown2013-12-02 18:35:54 +0100
commit84acfd4340f9c7cef7286eb9d539e78fb3a15292 (patch)
tree45bb2798710b22b79021f9def054615db3fb10d7 /drivers/cpufreq/tegra-cpufreq.c
parentspi: omap2: Add build dependencies for writel_relaxed() (diff)
downloadkernel-qcow2-linux-84acfd4340f9c7cef7286eb9d539e78fb3a15292.tar.gz
kernel-qcow2-linux-84acfd4340f9c7cef7286eb9d539e78fb3a15292.tar.xz
kernel-qcow2-linux-84acfd4340f9c7cef7286eb9d539e78fb3a15292.zip
spi: omap-100k: remove pointless _remove function
Commit [8074cf06: use devm_spi_register_master()] removed the last bit of omap1_spi100k_remove function that had side effects. After call to spi_unregister_master was removed, the function consisted of: 2. call to platform_get_drvdata whose return value was only used in: 2. call to spi_master_get_devdata whose return value was not used, 3. an if statement checking if zero was not zero, and 4. call to platform_get_resource whose return value was not used. Ah, yes, and of course, final return 0. ;) Since omap1_spi100k_remove no longer does anything, it can be safely removed. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/cpufreq/tegra-cpufreq.c')
0 files changed, 0 insertions, 0 deletions