-static int cleanup(void)
-{
- dev_clear();
-
- /* TODO: free other driver resources, if any. */
-
- return SR_OK;
-}
-
-static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi)
-{
+static int config_get(uint32_t key, GVariant **data,
+ const struct sr_dev_inst *sdi, const struct sr_channel_group *cg)
+{{