Skip to content

Commit

Permalink
staging: comedi: me_daq: remove some obvious comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 26, 2012
1 parent 61532e9 commit e33909c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions drivers/staging/comedi/drivers/me_daq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e33909c

Please sign in to comment.