summaryrefslogtreecommitdiff
path: root/drivers/staging/sbe-2t3e3/netdev.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-04-22 18:34:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-23 10:41:38 -0700
commitc1a5917157c115875d71c94fac75071a8b88ba15 (patch)
treefb567516d8149f45ca120fd6bb297b9217aae4d6 /drivers/staging/sbe-2t3e3/netdev.c
parentb678075f9a9bad493ddb6dda833c9f334bf2dc1d (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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sbe-2t3e3/netdev.c')
0 files changed, 0 insertions, 0 deletions