]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/yokogawa-dlm/api.c
drivers: Consistently name SCPI helper functions 'probe_device'.
[libsigrok.git] / src / hardware / yokogawa-dlm / api.c
index 21b7e40a06f4bba765778f9028f3941706c15ee2..ebe73216000f12c293794b846e69efd4875c19e1 100644 (file)
@@ -62,7 +62,7 @@ enum {
        CG_DIGITAL,
 };
 
-static struct sr_dev_inst *probe_usbtmc_device(struct sr_scpi_dev_inst *scpi)
+static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
 {
        struct sr_dev_inst *sdi;
        struct dev_context *devc;
@@ -117,7 +117,7 @@ fail:
 
 static GSList *scan(struct sr_dev_driver *di, GSList *options)
 {
-       return sr_scpi_scan(di->context, options, probe_usbtmc_device);
+       return sr_scpi_scan(di->context, options, probe_device);
 }
 
 static void clear_helper(struct dev_context *devc)