brymen-bm86x: Remove std_dev_clear() wrapper.

This commit is contained in:
Uwe Hermann 2014-02-28 13:11:46 +01:00
parent 1b950bc79c
commit 0ab702601d
2 changed files with 2 additions and 8 deletions

View 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,

View 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. */