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)
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;
......
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