]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove sdio_drv_priv structure
authorBryan Brattlof <hello@bryanbrattlof.com>
Wed, 14 Apr 2021 17:39:03 +0000 (17:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 07:26:00 +0000 (09:26 +0200)
commit7795c321da57dcb9634bcfaf76a62dd1a27523ed
treebd08074481aa615c57a8f3bf1c34751b97b76b3b
parentbeb752725da349c5e0f009a315672ff9dcf2f792
staging: rtl8723bs: remove sdio_drv_priv structure

The sdio_drv_priv structure is a small wrapper around sdio_driver in
linux/mmc/sdio_func.h with an added drv_registered integer.

drv_registered is never used anywhere in the driver and only assigned to
during the sdio registering and unregistering process. We can safely
remove sdio_drv_priv and use the sdio_driver structure directly.

Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com>
Link: https://lore.kernel.org/r/20210414173751.317762-1-hello@bryanbrattlof.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/sdio_intf.c