Staging: comedi: comedi_fops.c: Fixed coding style issue
authorShyam Saini <mayhs11saini@gmail.com>
Tue, 10 May 2016 15:51:07 +0000 (21:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:52:29 +0000 (20:52 -0700)
commit34d3473263250c4c0883d7d6d95e8f122d8d348d
tree91729db3a49bff39fd56e76758421a0ea2ef4eb1
parent277b861349d1fda79e124a3d0fd81f5d6e594b3f
Staging: comedi: comedi_fops.c: Fixed coding style issue

Fixed following checkpatch.pl warnings
WARNING: Prefer WRITE_ONCE(<FOO>, <BAR>) over ACCESS_ONCE(<FOO>) = <BAR>

WARNING: Prefer READ_ONCE(<FOO>) over ACCESS_ONCE(<FOO>)

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c