brymen-bm86x: Remove std_dev_clear() wrapper.
This commit is contained in:
parent
1b950bc79c
commit
0ab702601d
|
@ -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,
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue