libsigrok/hardware
Uwe Hermann c0eea11c45 sr_driver_init(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.

Also, change one SR_ERR to the more correct SR_ERR_MALLOC, and assign
sr_ctx in the rigol-ds1xx2's hw_init() function, like all the other
drivers do.
2013-01-29 12:56:02 +01:00
..
agilent-dmm drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
alsa Deprecate SR_DI_HWCAPS. 2013-01-25 15:01:49 +01:00
asix-sigma sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
chronovu-la8 Deprecate SR_DI_HWCAPS. 2013-01-25 15:01:49 +01:00
colead-slm sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
common serial.c: NetBSD doesn't have OFILL. 2013-01-27 01:23:01 +01:00
demo sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
fluke-dmm drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
fx2lafw Deprecate SR_DI_HWCAPS. 2013-01-25 15:01:49 +01:00
hantek-dso hantek-dso: Use message logging helpers. 2013-01-29 12:56:02 +01:00
lascar-el-usb drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
link-mso19 Deprecate SR_DI_HWCAPS. 2013-01-25 15:01:49 +01:00
nexus-osciprime drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
openbench-logic-sniffer sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
rigol-ds1xx2 sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
serial-dmm drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
tondaj-sl-814 drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
uni-t-dmm drivers: Trim unused config_get() calls 2013-01-25 16:05:48 +01:00
victor-dmm sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
zeroplus-logic-cube sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
Makefile.am rigol-ds1xx2: Initial driver skeleton. 2013-01-03 18:41:28 +01:00