staging: comedi: me_daq: remove some obvious comments
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 22:11:52 +0000 (15:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:20:03 +0000 (09:20 -0700)
These comments are just extra cruft.

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

index 7aa339908e524abefc0d07cb979c9629bca34c25..6a2dbdf9f0d17b11e237b0240e4b3389a5ef09ef 100644 (file)
@@ -164,7 +164,6 @@ static const struct me_board me_boards[] = {
        }
 };
 
-/* Private data structure */
 struct me_private_data {
        void __iomem *plx_regbase;      /* PLX configuration base address */
        void __iomem *me_regbase;       /* Base address of the Meilhaus card */
@@ -175,13 +174,6 @@ struct me_private_data {
        int ao_readback[4];     /* Mirror of analog output data */
 };
 
-/*
- * ------------------------------------------------------------------
- *
- * Helpful functions
- *
- * ------------------------------------------------------------------
- */
 static inline void sleep(unsigned sec)
 {
        current->state = TASK_INTERRUPTIBLE;
@@ -393,15 +385,6 @@ static int me_ao_insn_read(struct comedi_device *dev,
        return insn->n;
 }
 
-/*
- * ------------------------------------------------------------------
- *
- * INITIALISATION SECTION
- *
- * ------------------------------------------------------------------
- */
-
-/* Xilinx firmware download for card: ME-2600i */
 static int me2600_xilinx_download(struct comedi_device *dev,
                                  const u8 *data, size_t size)
 {
@@ -485,7 +468,6 @@ static int me2600_upload_firmware(struct comedi_device *dev)
        return ret;
 }
 
-/* Reset device */
 static int me_reset(struct comedi_device *dev)
 {
        struct me_private_data *dev_private = dev->private;