bus: subsys: update return type of ->remove_dev() to void
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Jul 2015 09:34:01 +0000 (15:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Aug 2015 00:08:14 +0000 (17:08 -0700)
commit71db87ba570038497db1227b7dc61113c4156565
tree55822a231eae32bf81af81148f04dacc1d30c67d
parent52cdbdd49853dfa856082edb0f4c4c0249d9df07
bus: subsys: update return type of ->remove_dev() to void

Its return value is not used by the subsys core and nothing meaningful
can be done with it, even if we want to use it. The subsys device is
anyway getting removed.

Update prototype of ->remove_dev() to make its return type as void. Fix
all usage sites as well.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sh/kernel/cpu/sh4/sq.c
arch/tile/kernel/sysfs.c
arch/x86/kernel/cpu/microcode/core.c
drivers/cpufreq/cpufreq.c
drivers/net/rionet.c
include/linux/device.h