OSDN Git Service

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)
commit74a6565f378c1b71f2572bf1f3c03ad35a7c75ca
tree9bee7d97169bdb915e3b6759bc3f52008ac2d111
parent3b3a1a0b782444c7f62c8581b81c8a0b43ae7159
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