diff options
author | Deepak R Varma <mh12gx2825@gmail.com> | 2020-03-14 19:28:57 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-17 12:28:04 +0100 |
commit | b01e01351c4e3f5f5bc7bc3f4ea7753a2ad6eb77 (patch) | |
tree | 45a0025e9f880341434497ebe2da5fee2741334c /drivers | |
parent | 6f0c6989d7fa9261de3528eee874b6cf9356f3fe (diff) | |
download | linux-b01e01351c4e3f5f5bc7bc3f4ea7753a2ad6eb77.tar.bz2 |
staging: comedi: dt3000: Reformat multiple line dereference
Reformat multiple line dereferences for &cmd->scan_begin_arg. Problem
detected by checkpatch.
Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/20200314135852.GA6336@deeUbuntu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/dt3000.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c index f7c365b70106..011e19161b78 100644 --- a/drivers/staging/comedi/drivers/dt3000.c +++ b/drivers/staging/comedi/drivers/dt3000.c @@ -439,9 +439,8 @@ static int dt3k_ai_cmdtest(struct comedi_device *dev, if (cmd->scan_begin_src == TRIG_TIMER) { arg = cmd->convert_arg * cmd->scan_end_arg; - err |= comedi_check_trigger_arg_min(&cmd-> - scan_begin_arg, - arg); + err |= comedi_check_trigger_arg_min( + &cmd->scan_begin_arg, arg); } } |