sr/drivers: use sr_dev_inst instead of device index for dev_config_set()
authorBert Vermeulen <bert@biot.com>
Mon, 16 Jul 2012 01:52:14 +0000 (03:52 +0200)
committerBert Vermeulen <bert@biot.com>
Fri, 3 Aug 2012 08:27:39 +0000 (10:27 +0200)
commitec1bca3355f8debb734573851a824131dec3f2ee
tree68a446a08f841bed17d81bae27fad5464ae77dc6
parentbf5862ce8a6f308716f127cf2f47bf60f211a9c0
sr/drivers: use sr_dev_inst instead of device index for dev_config_set()

All driver API calls using device index as a parameter will instead use a
const struct sr_dev_inst.
12 files changed:
libsigrok/hardware/asix-sigma/asix-sigma.c
libsigrok/hardware/chronovu-la8/api.c
libsigrok/hardware/chronovu-la8/driver.c
libsigrok/hardware/chronovu-la8/driver.h
libsigrok/hardware/demo/demo.c
libsigrok/hardware/fx2lafw/fx2lafw.c
libsigrok/hardware/genericdmm/api.c
libsigrok/hardware/hantek-dso/api.c
libsigrok/hardware/openbench-logic-sniffer/ols.c
libsigrok/hardware/zeroplus-logic-cube/zeroplus.c
libsigrok/libsigrok.h
libsigrok/session_driver.c