staging: comedi: s626.c - fix multiline dereference
authorRoman Lakeev <sunnyddayss@gmail.com>
Thu, 14 Dec 2017 04:39:53 +0000 (20:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 14:10:09 +0000 (15:10 +0100)
commite9f14f1954ef73ef17b90651d653c67cd79715be
treefed78df953b93df0ee3f4a73e1f0cc4ea876c55e
parent07df5b7c94c266481e341031a6a8293345a0a87c
staging: comedi: s626.c - fix multiline dereference

staging: comedi: s626.c - fix the following checkpatch issues:
WARNING: Avoid multiple line dereference - prefer 'devpriv->rps_buf.logical_base'
#1380: FILE: drivers/s626.c:1380:
+    (unsigned long)devpriv->
+   rps_buf.logical_base);

WARNING: Avoid multiple line dereference - prefer 'cmd->scan_begin_arg'
#1898: FILE: drivers/s626.c:1898:
+ err |= comedi_check_trigger_arg_min(&cmd->
+     scan_begin_arg,

Signed-off-by: Roman Lakeev <sunnyddayss@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c