summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-07-29 14:05:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-31 17:38:01 -0700
commitb08c4015e6042113625d92f9e3e32bdaa652bf76 (patch)
treeb29fcb8a4ffec9cac7f3a7ad62f4ebc295266541 /include/linux/flex_array.h
parent0f13a8d02741f3fd301c5c0184e2c2d734f31a85 (diff)
staging: comedi: das16: fail attach if board id is incorrect
This driver probes the board id during the attach to ensure that the user is attempting to attach to the correct board type. Currently an error message is output if the ids are not consistent but the attach continues anyway. Make the attach fail if the id bits do not match. Also, cleanup the printk messages and use a dev_err() only if the probe fails. 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 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions