diff options
author | H Hartley Sweeten <[email protected]> | 2013-04-22 18:34:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-04-23 10:41:38 -0700 |
commit | c1a5917157c115875d71c94fac75071a8b88ba15 (patch) | |
tree | fb567516d8149f45ca120fd6bb297b9217aae4d6 /net/lapb/lapb_in.c | |
parent | b678075f9a9bad493ddb6dda833c9f334bf2dc1d (diff) |
staging: comedi: das800: cleanup the boardinfo
For aesthetic reasons, name the enum used for the boardinfo indexes
and change them to uppercase with the prefix BOARD_.
Add some whitespace to the boardinfo declaration and use the enum
values to clarify the table.
Tidy up the das800_probe() function and only output a dev_dbg()
message if a board model is actually probed. If the user provided
the correct boardname when attaching to this driver the message
is just added noise.
For the 'default' case when checking the proded id, output the
id_bits and return -EINVAL. It should not be assumed that unknown
boards will work with this driver.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions