]> sigrok.org Git - libsigrok.git/commitdiff
genericdmm/fs9922: no initialization needed
authorBert Vermeulen <redacted>
Sun, 8 Jul 2012 02:15:51 +0000 (04:15 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 08:27:36 +0000 (10:27 +0200)
hardware/genericdmm/fs9922.c

index 5e80df77e78e992e5d9386dc3ca61242bc1e35f1..690542481498d53e93b95e49c4a2be2b844c14db 100644 (file)
 #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,
 };