diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2021-04-07 17:01:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-07 18:09:55 +0300 |
commit | 228e55617c17e70a441b070eca457bf88ad3da96 (patch) | |
tree | 3e5ae3e05810515943129d50d741149749fdc4e9 /drivers/staging/comedi | |
parent | 2628ca5f8e5ef0ad21565c3895eb8cfa1acc59bc (diff) | |
download | linux-228e55617c17e70a441b070eca457bf88ad3da96.tar.xz |
staging: comedi: tests: ni_routes_test: Lines should not end with a '('
Fix checkpatch.pl issues such as the following:
CHECK: Lines should not end with a '('
+ unittest(
Cc: Spencer E. Olson <olsonse@umich.edu>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20210407140142.447250-5-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r-- | drivers/staging/comedi/drivers/tests/ni_routes_test.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/drivers/staging/comedi/drivers/tests/ni_routes_test.c b/drivers/staging/comedi/drivers/tests/ni_routes_test.c index 7dfc70a4cc6f..96e778031da3 100644 --- a/drivers/staging/comedi/drivers/tests/ni_routes_test.c +++ b/drivers/staging/comedi/drivers/tests/ni_routes_test.c @@ -243,13 +243,11 @@ void test_ni_assign_device_routes(void) unittest(route_set_sources_in_order(devroutes), "all pci-6070e route_set->src's in order of signal source\n"); - unittest( - RVI(table, B(PXI_Star), B(NI_AI_SampleClock)) == V(17) && - RVI(table, B(NI_10MHzRefClock), B(TRIGGER_LINE(0))) == 0 && - RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(0))) == 0 && - RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(2))) == - V(NI_PFI_OUTPUT_AI_CONVERT), - "pci-6070e finds e-series route_values table\n"); + unittest(RVI(table, B(PXI_Star), B(NI_AI_SampleClock)) == V(17) && + RVI(table, B(NI_10MHzRefClock), B(TRIGGER_LINE(0))) == 0 && + RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(0))) == 0 && + RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(2))) == V(NI_PFI_OUTPUT_AI_CONVERT), + "pci-6070e finds e-series route_values table\n"); olddevroutes = devroutes; oldtable = table; @@ -263,12 +261,11 @@ void test_ni_assign_device_routes(void) "find device pci-6220\n"); unittest(oldtable != table, "pci-6220 find other route_values table\n"); - unittest( - RVI(table, B(PXI_Star), B(NI_AI_SampleClock)) == V(20) && - RVI(table, B(NI_10MHzRefClock), B(TRIGGER_LINE(0))) == V(12) && - RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(0))) == V(3) && - RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(2))) == V(3), - "pci-6220 finds m-series route_values table\n"); + unittest(RVI(table, B(PXI_Star), B(NI_AI_SampleClock)) == V(20) && + RVI(table, B(NI_10MHzRefClock), B(TRIGGER_LINE(0))) == V(12) && + RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(0))) == V(3) && + RVI(table, B(NI_AI_ConvertClock), B(NI_PFI(2))) == V(3), + "pci-6220 finds m-series route_values table\n"); } void test_ni_sort_device_routes(void) |