X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fhp-3457a%2Fapi.c;h=129e1e59656e7ed9dc458295da8631eade6af5b6;hp=1a5e5d920a8f9f0f03191ba3f4de204582681c73;hb=c01bf34ca264b268fee2e71ab918c71d28dc3018;hpb=88a0265ebcb265ba839c02cc5bcd39e359c9f60f diff --git a/src/hardware/hp-3457a/api.c b/src/hardware/hp-3457a/api.c index 1a5e5d92..129e1e59 100644 --- a/src/hardware/hp-3457a/api.c +++ b/src/hardware/hp-3457a/api.c @@ -176,11 +176,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) return sr_scpi_scan(di->context, options, probe_device); } -static GSList *dev_list(const struct sr_dev_driver *di) -{ - return ((struct drv_context *)(di->context))->instances; -} - /* * We need to set the HP 3457A to a known state, and there are quite a number * of knobs to tweak. Here's a brief explanation of what's going on. For more @@ -454,7 +449,7 @@ SR_PRIV struct sr_dev_driver hp_3457a_driver_info = { .init = init, .cleanup = std_cleanup, .scan = scan, - .dev_list = dev_list, + .dev_list = std_dev_list, .config_get = config_get, .config_set = config_set, .config_list = config_list,