staging: comedi: mite: use comedi_inc_scan_progress()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 18 Sep 2014 18:46:05 +0000 (11:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:25 +0000 (10:29 +0800)
This inline function is just a wrapper around comedi_inc_scan_progress().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.c

index bc12765368ece82756a4897ad40d8c4e8a40ef4f..ffc9e61d6cdde29a0fce8113df4af894db67bb85 100644 (file)
@@ -539,7 +539,7 @@ int mite_sync_input_dma(struct mite_channel *mite_chan,
                return 0;
 
        comedi_buf_write_free(s, count);
-       cfc_inc_scan_progress(s, count);
+       comedi_inc_scan_progress(s, count);
        async->events |= COMEDI_CB_BLOCK;
        return 0;
 }