diff options
author | Pratik Jain <pratik.jain0509@gmail.com> | 2018-03-16 16:18:13 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 19:43:24 +0100 |
commit | 988f4a3b6a563de800a2db934f027fe7beee76e8 (patch) | |
tree | f4d5d2c3c167ce00eb58c7c36c2a0b8e70fa7205 /drivers/staging/comedi | |
parent | 44f689367282cef1220c1571b44a8f85129f6148 (diff) | |
download | talos-op-linux-988f4a3b6a563de800a2db934f027fe7beee76e8.tar.gz talos-op-linux-988f4a3b6a563de800a2db934f027fe7beee76e8.zip |
Staging: comedi: drivers: ni_atmio.c: fixed multi-line derefernce issue
Fixed coding style issue.
Signed-off-by: Pratik Jain <pratik.jain0509@gmail.com>
Reviewed-by: Ian Abbott <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/ni_atmio.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c index b9e9ab548c4b..2b7bfe0dd7f3 100644 --- a/drivers/staging/comedi/drivers/ni_atmio.c +++ b/drivers/staging/comedi/drivers/ni_atmio.c @@ -224,10 +224,11 @@ static int ni_isapnp_find_board(struct pnp_dev **dev) int i; for (i = 0; i < ARRAY_SIZE(ni_boards); i++) { - isapnp_dev = pnp_find_dev(NULL, - ISAPNP_VENDOR('N', 'I', 'C'), - ISAPNP_FUNCTION(ni_boards[i]. - isapnp_id), NULL); + isapnp_dev = + pnp_find_dev(NULL, + ISAPNP_VENDOR('N', 'I', 'C'), + ISAPNP_FUNCTION(ni_boards[i].isapnp_id), + NULL); if (!isapnp_dev || !isapnp_dev->card) continue; |