]> 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)
commitc80b208f48316ae1c83f4eb7ee8d745334ff85f4
tree9bee7d97169bdb915e3b6759bc3f52008ac2d111
parentc262db48526a1d52740c47bcc04598e78a68e35d
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