genericdmm/fs9922: no initialization needed

This commit is contained in:
Bert Vermeulen 2012-07-08 04:15:51 +02:00
parent 7fc754a0db
commit 1ef445b3d6
1 changed files with 1 additions and 9 deletions

View File

@ -22,14 +22,7 @@
#include "genericdmm.h"
static int fs9922_init(struct context *ctx)
{
return SR_OK;
}
static int fs9922_data(struct context *ctx, unsigned char *data)
static int fs9922_data(struct sr_dev_inst *sdi, unsigned char *data)
{
struct sr_datafeed_packet packet;
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 = {
.init = fs9922_init,
.data = fs9922_data,
};