]> sigrok.org Git - libsigrok.git/commit
config_set(): Don't check for sdi->priv != NULL.
authorUwe Hermann <redacted>
Sat, 14 May 2016 13:25:19 +0000 (15:25 +0200)
committerUwe Hermann <redacted>
Mon, 16 May 2016 23:12:56 +0000 (01:12 +0200)
commitb0baddef5620c5783080d0e8811e668fbc2b38f5
tree05a69854fae27094ec77387c4fbf721b94500999
parente5b7eef797ba16ca901fc0a91053329937bd5b26
config_set(): Don't check for sdi->priv != NULL.

Instead, have the backend check that sdi->priv is not NULL (which
many drivers have been assuming already anyway).
19 files changed:
src/hardware/agilent-dmm/api.c
src/hardware/appa-55ii/api.c
src/hardware/brymen-bm86x/api.c
src/hardware/brymen-dmm/api.c
src/hardware/cem-dt-885x/api.c
src/hardware/chronovu-la/api.c
src/hardware/colead-slm/api.c
src/hardware/fluke-dmm/api.c
src/hardware/gmc-mh-1x-2x/protocol.c
src/hardware/gwinstek-gds-800/api.c
src/hardware/hameg-hmo/api.c
src/hardware/kern-scale/api.c
src/hardware/link-mso19/api.c
src/hardware/norma-dmm/api.c
src/hardware/rigol-ds/api.c
src/hardware/serial-dmm/api.c
src/hardware/teleinfo/api.c
src/hardware/zeroplus-logic-cube/api.c
src/hwdriver.c