f368ed6088
With well over 200+ users of this api, there are a mere 12 users that actually checked the return value of this function. And all of them really didn't do anything with that information as the system or module was shutting down no matter what. So stop pretending like it matters, and just return void from misc_deregister(). If something goes wrong in the call, you will get a WARNING splat in the syslog so you know how to fix up your driver. Other than that, there's nothing that can go wrong. Cc: Alasdair Kergon <agk@redhat.com> Cc: Neil Brown <neilb@suse.com> Cc: Oleg Drokin <oleg.drokin@intel.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: Christine Caulfield <ccaulfie@redhat.com> Cc: David Teigland <teigland@redhat.com> Cc: Mark Fasheh <mfasheh@suse.com> Acked-by: Joel Becker <jlbec@evilplan.org> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
acquirewdt.c | ||
advantechwdt.c | ||
alim1535_wdt.c | ||
alim7101_wdt.c | ||
ar7_wdt.c | ||
at32ap700x_wdt.c | ||
at91rm9200_wdt.c | ||
at91sam9_wdt.c | ||
at91sam9_wdt.h | ||
ath79_wdt.c | ||
bcm_kona_wdt.c | ||
bcm47xx_wdt.c | ||
bcm63xx_wdt.c | ||
bcm2835_wdt.c | ||
bfin_wdt.c | ||
booke_wdt.c | ||
cadence_wdt.c | ||
coh901327_wdt.c | ||
cpu5wdt.c | ||
cpwd.c | ||
da9052_wdt.c | ||
da9055_wdt.c | ||
da9062_wdt.c | ||
da9063_wdt.c | ||
davinci_wdt.c | ||
diag288_wdt.c | ||
digicolor_wdt.c | ||
dw_wdt.c | ||
ep93xx_wdt.c | ||
eurotechwdt.c | ||
f71808e_wdt.c | ||
gef_wdt.c | ||
geodewdt.c | ||
gpio_wdt.c | ||
hpwdt.c | ||
i6300esb.c | ||
ib700wdt.c | ||
ibmasr.c | ||
ie6xx_wdt.c | ||
imgpdc_wdt.c | ||
imx2_wdt.c | ||
indydog.c | ||
intel_scu_watchdog.c | ||
intel_scu_watchdog.h | ||
intel-mid_wdt.c | ||
iop_wdt.c | ||
it87_wdt.c | ||
it8712f_wdt.c | ||
iTCO_vendor_support.c | ||
iTCO_vendor.h | ||
iTCO_wdt.c | ||
ixp4xx_wdt.c | ||
jz4740_wdt.c | ||
Kconfig | ||
kempld_wdt.c | ||
ks8695_wdt.c | ||
lantiq_wdt.c | ||
m54xx_wdt.c | ||
machzwd.c | ||
Makefile | ||
max63xx_wdt.c | ||
mena21_wdt.c | ||
menf21bmc_wdt.c | ||
meson_wdt.c | ||
mixcomwd.c | ||
moxart_wdt.c | ||
mpc8xxx_wdt.c | ||
mtk_wdt.c | ||
mtx-1_wdt.c | ||
mv64x60_wdt.c | ||
nuc900_wdt.c | ||
nv_tco.c | ||
nv_tco.h | ||
octeon-wdt-main.c | ||
octeon-wdt-nmi.S | ||
of_xilinx_wdt.c | ||
omap_wdt.c | ||
omap_wdt.h | ||
orion_wdt.c | ||
pc87413_wdt.c | ||
pcwd_pci.c | ||
pcwd_usb.c | ||
pcwd.c | ||
pika_wdt.c | ||
pnx833x_wdt.c | ||
pnx4008_wdt.c | ||
qcom-wdt.c | ||
rc32434_wdt.c | ||
rdc321x_wdt.c | ||
retu_wdt.c | ||
riowd.c | ||
rn5t618_wdt.c | ||
rt2880_wdt.c | ||
s3c2410_wdt.c | ||
sa1100_wdt.c | ||
sb_wdog.c | ||
sbc_epx_c3.c | ||
sbc_fitpc2_wdt.c | ||
sbc60xxwdt.c | ||
sbc7240_wdt.c | ||
sbc8360.c | ||
sc520_wdt.c | ||
sc1200wdt.c | ||
sch311x_wdt.c | ||
scx200_wdt.c | ||
shwdt.c | ||
sirfsoc_wdt.c | ||
smsc37b787_wdt.c | ||
softdog.c | ||
sp805_wdt.c | ||
sp5100_tco.c | ||
sp5100_tco.h | ||
st_lpc_wdt.c | ||
stmp3xxx_rtc_wdt.c | ||
sunxi_wdt.c | ||
tegra_wdt.c | ||
ts72xx_wdt.c | ||
twl4030_wdt.c | ||
txx9wdt.c | ||
ux500_wdt.c | ||
via_wdt.c | ||
w83627hf_wdt.c | ||
w83877f_wdt.c | ||
w83977f_wdt.c | ||
wafer5823wdt.c | ||
watchdog_core.c | ||
watchdog_core.h | ||
watchdog_dev.c | ||
wd501p.h | ||
wdrtas.c | ||
wdt_pci.c | ||
wdt.c | ||
wdt285.c | ||
wdt977.c | ||
wm831x_wdt.c | ||
wm8350_wdt.c | ||
xen_wdt.c |