]> sigrok.org Git - libsigrok.git/commitdiff
brymen-bm86x: Remove std_dev_clear() wrapper.
authorUwe Hermann <redacted>
Fri, 28 Feb 2014 12:11:46 +0000 (13:11 +0100)
committerUwe Hermann <redacted>
Fri, 28 Feb 2014 12:13:09 +0000 (13:13 +0100)
hardware/brymen-bm86x/api.c
hardware/brymen-bm86x/protocol.h

index 9ab60dff8fa90d168bea9d3612ee58e3819dd45d..802d443abe8cc6f316e34cba8328e3202c75a85e 100644 (file)
@@ -108,11 +108,6 @@ static GSList *dev_list(void)
        return ((struct drv_context *)(di->priv))->instances;
 }
 
-static int dev_clear(void)
-{
-       return std_dev_clear(di, NULL);
-}
-
 static int dev_open(struct sr_dev_inst *sdi)
 {
        struct drv_context *drvc = di->priv;
@@ -184,7 +179,7 @@ static int dev_close(struct sr_dev_inst *sdi)
 
 static int cleanup(void)
 {
-       return dev_clear();
+       return std_dev_clear(di, NULL);
 }
 
 static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi,
@@ -305,7 +300,7 @@ SR_PRIV struct sr_dev_driver brymen_bm86x_driver_info = {
        .cleanup = cleanup,
        .scan = scan,
        .dev_list = dev_list,
-       .dev_clear = dev_clear,
+       .dev_clear = NULL,
        .config_get = config_get,
        .config_set = config_set,
        .config_list = config_list,
index 5590d4e3deb45eba6245fece5f864ac39ba8bcbe..d3d8955d29779570710030b1fc4879028acfcf99 100644 (file)
@@ -25,7 +25,6 @@
 #include "libsigrok.h"
 #include "libsigrok-internal.h"
 
-/* Message logging helpers with subsystem-specific prefix string. */
 #define LOG_PREFIX "brymen-bm86x"
 
 /** Private, per-device-instance driver context. */