commit | 873524c8517cf0986768685358d124aae7f7e495 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Oct 13 17:47:51 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 16 23:20:10 2015 -0700 |
tree | a74885ab4bf417beec758a9a24d0fb9024a9d976 | |
parent | 2d71464fd137d4a830dddfc799de8158e9ddc97c [diff] |
staging: comedi: cb_pcidas: tidy up cb_pcidas_trimpot_write() All the boards supported by this driver have an AD7376 or AD8402 trimpot. Replace the switch () with and if () and remove the unreachable dev_err() noise. 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>