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>
This commit is contained in:
Pratik Jain 2018-03-16 16:18:13 +05:30 committed by Greg Kroah-Hartman
parent 44f6893672
commit 988f4a3b6a
1 changed files with 5 additions and 4 deletions

View File

@ -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;