WSL2-Linux-Kernel/drivers/staging
Greg Kroah-Hartman f368ed6088 char: make misc_deregister a void function
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>
2015-08-05 10:35:49 -07:00
..
android char: make misc_deregister a void function 2015-08-05 10:35:49 -07:00
board staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP 2015-07-06 10:06:47 -07:00
clocking-wizard
comedi staging: comedi: addi_apci_3120: rename 'this_board' variables 2015-06-18 21:19:04 -07:00
dgap Staging: dgap: dgap: Fixed spelling errors 2015-05-31 11:40:14 +09:00
dgnc staging: dgnc: free memory allocated 2015-06-18 21:15:17 -07:00
emxx_udc staging: emxx_udc: remove commented code 2015-06-15 21:56:37 -07:00
fbtft staging: fbtft: correct a typo in a comment 2015-06-13 14:50:11 -07:00
fsl-mc staging: fsl-mc: Remove redundant initalization of the .owner field 2015-05-08 09:24:11 +02:00
ft1000 staging: ft1000-usb: Removed CVS keyword marker 2015-06-18 21:13:48 -07:00
fwserial staging: fwserial: fix resource leak 2015-05-31 11:47:57 +09:00
gdm72xx staging: gdm72xx: Fix typos in printk 2015-05-31 11:47:56 +09:00
gdm724x staging: gdm724x: Remove test for host endian 2015-05-31 11:47:56 +09:00
goldfish staging: goldfish: Fix pointer cast for 32 bits 2015-05-31 11:40:14 +09:00
gs_fpgaboot
iio iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
lustre char: make misc_deregister a void function 2015-08-05 10:35:49 -07:00
media Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
mt29f_spinand
netlogic
nvec staging: nvec: remove duplicated const 2015-06-17 21:30:40 -07:00
octeon staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
octeon-usb Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
olpc_dcon staging/olpc: drop pci dependencies 2015-04-03 13:56:03 +02:00
ozwpan staging: ozwpan: prevent a couple of underflows 2015-06-08 13:38:56 -07:00
panel Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rtl8188eu staging: rtl8188eu: remove space before open square bracket '[' 2015-06-18 21:13:48 -07:00
rtl8192e Staging: rtl8192e: Timer setup using macro rather assignment 2015-06-17 21:38:23 -07:00
rtl8192u staging: rtl8192u: ieee80211: Fix incorrect type in assignment 2015-06-17 21:33:26 -07:00
rtl8712 staging: rtl8712: fix else after break or return warning 2015-06-13 14:45:51 -07:00
rtl8723au Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rts5208 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
skein Drivers: staging: skein: skein_api: Fixed spelling errors 2015-05-31 10:30:40 +09:00
slicoss staging: slicoss: remove unused macro 2015-06-17 21:30:40 -07:00
sm7xxfb staging: sm7xxfb: fix camelcase 2015-06-17 21:44:30 -07:00
sm750fb Staging: sm750fb: ddk750_swi2c.c: Insert spaces before parenthesis 2015-06-18 22:10:02 -07:00
speakup staging: speakup: use swap() in get_highlight_color() 2015-06-12 17:19:47 -07:00
ste_rmi4
unisys staging: unisys: visorchannel_write() fix potential memory corruption 2015-06-16 14:36:39 -07:00
vme staging: vme_user: remove buf_unalloc helper 2015-06-13 14:46:38 -07:00
vt6655 staging: vt6655: check ieee80211_bss_conf bssid not NULL 2015-07-14 19:34:57 -07:00
vt6656 staging: vt6656: check ieee80211_bss_conf bssid not NULL 2015-07-14 19:34:57 -07:00
wilc1000 staging: wilc1000: disable driver due to build warnings 2015-06-26 12:04:47 -07:00
wlan-ng Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
xgifb staging: xgifb: use arch_phys_wc_add() and ioremap_wc() 2015-05-31 10:30:40 +09:00
Kconfig staging: wilc1000: Add SDIO/SPI 802.11 driver 2015-05-24 13:36:53 -07:00
Makefile staging: wilc1000: Add SDIO/SPI 802.11 driver 2015-05-24 13:36:53 -07:00
staging.c