aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-02-05 17:27:37 -0700
committerGreg Kroah-Hartman <[email protected]>2013-02-05 18:07:12 -0800
commit75a45d924dd33882caf80d3a78dd96c370a6580b (patch)
tree2f84e6110ebe505ec6559fa1786feef54cd23bbf /fs/jbd2/commit.c
parentb639e09608f0103761751d707e837a7ca01d82a7 (diff)
staging: comedi: vmk80xx: cleanup counter subdevice init
Change the 'cnt_bits' in the boardinfo to 'cnt_maxdata' so that the calculation of s->maxdata can be removed. Also, change the type to match the comedi_subdevice type. Add a comment about the '0' value for DEVICE_VMK8061. The s->maxdata should always be set for the subdevice. Move it out of the conditional. Rename the (*insn_read), (*insn_config_, and (*insn_write) functions for the counter subdevice to make grepping easier. For aesthetic reasons, add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions