genericdmm/fs9922: no initialization needed
This commit is contained in:
parent
7fc754a0db
commit
1ef445b3d6
|
@ -22,14 +22,7 @@
|
||||||
#include "genericdmm.h"
|
#include "genericdmm.h"
|
||||||
|
|
||||||
|
|
||||||
static int fs9922_init(struct context *ctx)
|
static int fs9922_data(struct sr_dev_inst *sdi, unsigned char *data)
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
return SR_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int fs9922_data(struct context *ctx, unsigned char *data)
|
|
||||||
{
|
{
|
||||||
struct sr_datafeed_packet packet;
|
struct sr_datafeed_packet packet;
|
||||||
struct sr_datafeed_analog analog;
|
struct sr_datafeed_analog analog;
|
||||||
|
@ -42,7 +35,6 @@ static int fs9922_data(struct context *ctx, unsigned char *data)
|
||||||
|
|
||||||
|
|
||||||
SR_PRIV struct dmmchip dmmchip_fs9922 = {
|
SR_PRIV struct dmmchip dmmchip_fs9922 = {
|
||||||
.init = fs9922_init,
|
|
||||||
.data = fs9922_data,
|
.data = fs9922_data,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue