]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: use kernel_read() instead of open-coded version
authorJann Horn <jannh@google.com>
Fri, 1 Mar 2019 20:11:24 +0000 (21:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:06:08 +0000 (07:06 +0100)
commit0ca77750d2f2c98aa59f5e8f22931cb5f2b23383
tree9bee7d97169bdb915e3b6759bc3f52008ac2d111
parent83ac1867d07f3ee7586360a74d1654d5f659b58d
staging: rtl8723bs: use kernel_read() instead of open-coded version

Replace the manual call to f_op->read() under KERNEL_DS with kernel_read().
This also reduces the number of users of the legacy alias get_ds() for
KERNEL_DS.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/osdep_service.c