Skip to content

Commit

Permalink
staging: comedi: das08_isa: rename 'thisboard' variables
Browse files Browse the repository at this point in the history
For aesthetics, rename the 'thisboard' variables to 'board'. That name
is more commonly used for the boardinfo pointer in comedi drivers.

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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 19, 2015
1 parent 94be3ef commit c6726b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/comedi/drivers/das08_isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ static const struct das08_board_struct das08_isa_boards[] = {
static int das08_isa_attach(struct comedi_device *dev,
struct comedi_devconfig *it)
{
const struct das08_board_struct *thisboard = dev->board_ptr;
const struct das08_board_struct *board = dev->board_ptr;
struct das08_private_struct *devpriv;
int ret;

devpriv = comedi_alloc_devpriv(dev, sizeof(*devpriv));
if (!devpriv)
return -ENOMEM;

ret = comedi_request_region(dev, it->options[0], thisboard->iosize);
ret = comedi_request_region(dev, it->options[0], board->iosize);
if (ret)
return ret;

Expand Down

0 comments on commit c6726b8

Please sign in to comment.