mirror of https://gitee.com/openkylin/linux.git
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:
parent
44f6893672
commit
988f4a3b6a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue