staging: comedi: das08: Avoid zero initializers in board structure
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 19:41:35 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:00:41 +0000 (12:00 -0700)
commit5bacadc84bc6dc217e3b5eb2efa14902df78a143
treee5d3faa596068eb7f7fed94b35c5a3bc42e90254
parentdd2ac5d4b7ea7025e6f6e3975bc581944412a7fe
staging: comedi: das08: Avoid zero initializers in board structure

Don't bother initializing the `i8255_offset` and/or `i8254_offset`
members of `struct das08_board_struct` in `das08_boards[]` and
`das08_cs_boards[]` if they are zero as they are implicitly initialized
to zero anyway, and zero means the corresponding subdevices are absent.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c