]> sigrok.org Git - libsigrok.git/commitdiff
genericdmm: cosmetic change
authorBert Vermeulen <redacted>
Sun, 22 Jul 2012 09:49:00 +0000 (11:49 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 09:27:31 +0000 (11:27 +0200)
hardware/genericdmm/api.c

index e4de064ddc2647ead7ce2fb3fa389ffc633a3ccb..70d49b110c235abad88f42dcf5279ae2a99c3a21 100644 (file)
@@ -426,12 +426,12 @@ static int hw_cleanup(void)
        return SR_OK;
 }
 
-static int hw_info_get(int dev_info_id, const void **data,
+static int hw_info_get(int info_id, const void **data,
                const struct sr_dev_inst *sdi)
 {
        struct context *ctx;
 
-       switch (dev_info_id) {
+       switch (info_id) {
        case SR_DI_INST:
                *data = sdi;
                sr_spew("genericdmm: Returning sdi.");