Commit 988f4a3b authored by Pratik Jain's avatar Pratik Jain Committed by Greg Kroah-Hartman

Staging: comedi: drivers: ni_atmio.c: fixed multi-line derefernce issue

Fixed coding style issue.
Signed-off-by: default avatarPratik Jain <pratik.jain0509@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44f68936
...@@ -224,10 +224,11 @@ static int ni_isapnp_find_board(struct pnp_dev **dev) ...@@ -224,10 +224,11 @@ static int ni_isapnp_find_board(struct pnp_dev **dev)
int i; int i;
for (i = 0; i < ARRAY_SIZE(ni_boards); i++) { for (i = 0; i < ARRAY_SIZE(ni_boards); i++) {
isapnp_dev = pnp_find_dev(NULL, isapnp_dev =
ISAPNP_VENDOR('N', 'I', 'C'), pnp_find_dev(NULL,
ISAPNP_FUNCTION(ni_boards[i]. ISAPNP_VENDOR('N', 'I', 'C'),
isapnp_id), NULL); ISAPNP_FUNCTION(ni_boards[i].isapnp_id),
NULL);
if (!isapnp_dev || !isapnp_dev->card) if (!isapnp_dev || !isapnp_dev->card)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment