]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/motech-lps-30x/api.c
Random whitespace and other minor fixes.
[libsigrok.git] / src / hardware / motech-lps-30x / api.c
index 5c979edefcd8b6049505f010f702dc0d42c90fae..203446f57d05db95353d37007699bead5a9a8fd2 100644 (file)
@@ -738,7 +738,7 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *
        }
 
        /* Device options, independent from channel groups. */
-       if (cg == NULL) {
+       if (!cg) {
                switch (key) {
                case SR_CONF_DEVICE_OPTIONS:
                        *data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32,