commit | a0972008b2dfa2161ff1223214f5aae574bfe803 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Sep 04 10:39:33 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 08 13:54:06 2014 -0700 |
tree | 31ecc4c4ebbc5059425310413f245c4960a85bf6 | |
parent | 344a15c14162d9976bfdf2a6145eab7989c513d4 [diff] |
staging: comedi: adl_pci9118: refactor 'ai_maxdata' in boardinfo The boards supported by this driver either have 12-bit or 16-bit analog inputs. For aesthetics, replace the 'ai_maxdata' member in the boardinfo with a bit-field flag, 'ai_is_16bit', and refactor the subdevice init to use the new member. 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>