Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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_dev =
			pnp_find_dev(NULL,
				     ISAPNP_VENDOR('N', 'I', 'C'),
					  ISAPNP_FUNCTION(ni_boards[i].
							  isapnp_id), NULL);
				     ISAPNP_FUNCTION(ni_boards[i].isapnp_id),
				     NULL);

		if (!isapnp_dev || !isapnp_dev->card)
			continue;