[PATCH 07/21] staging: comedi: das08: Avoid zero initializers in board structure
Ian Abbott
abbotti at mev.co.uk
Fri Aug 31 19:50:25 UTC 2012
On 2012-08-31 20:41, Ian Abbott wrote:
> Don't bother initializing the `i8255_offset` and/or `i8255_offset`
Sorry for the typo there. One of those should read `i8254_offset`. The
diff is unaffected.
> 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 at mev.co.uk>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
More information about the devel
mailing list