]> sigrok.org Git - libsigrok.git/commit
Driver struct cleanups.
authorUwe Hermann <redacted>
Wed, 6 Feb 2013 21:35:24 +0000 (22:35 +0100)
committerUwe Hermann <redacted>
Thu, 7 Feb 2013 09:58:35 +0000 (10:58 +0100)
commit6fab7b8f5365c7be69be4a755910945b6113dd8f
tree9ec847ebb2a9877e5d95395dafcbc6c9d8b5d61b
parent4afdfd4628e9955af02a3ea619ecdfe469f9a9e2
Driver struct cleanups.

 - Explicitly list .config_get in all drivers for consistency, and set it
   to NULL if unused (whether or not a driver implements it is optional).

 - List all 'struct sr_dev_driver' entries in the same order in all drivers.

 - Move the check whether .config_set/.config_list exist (i.e., are non-NULL)
   into sanity_check_all_drivers().
14 files changed:
backend.c
hardware/agilent-dmm/api.c
hardware/brymen-dmm/api.c
hardware/colead-slm/api.c
hardware/fluke-dmm/api.c
hardware/hantek-dso/api.c
hardware/lascar-el-usb/api.c
hardware/nexus-osciprime/api.c
hardware/rigol-ds1xx2/api.c
hardware/serial-dmm/api.c
hardware/tondaj-sl-814/api.c
hardware/uni-t-dmm/api.c
hardware/victor-dmm/api.c
hwdriver.c