Commit eb641b92 authored by Gabriel Francisco Mandaji's avatar Gabriel Francisco Mandaji Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas64: fix alignment of function parameters

Fix most checkpatch.pl issues of type:

CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarGabriel Francisco Mandaji <gfmandaji@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 21ab37de
...@@ -2268,14 +2268,14 @@ static inline unsigned int dma_transfer_size(struct comedi_device *dev) ...@@ -2268,14 +2268,14 @@ static inline unsigned int dma_transfer_size(struct comedi_device *dev)
} }
static u32 ai_convert_counter_6xxx(const struct comedi_device *dev, static u32 ai_convert_counter_6xxx(const struct comedi_device *dev,
const struct comedi_cmd *cmd) const struct comedi_cmd *cmd)
{ {
/* supposed to load counter with desired divisor minus 3 */ /* supposed to load counter with desired divisor minus 3 */
return cmd->convert_arg / TIMER_BASE - 3; return cmd->convert_arg / TIMER_BASE - 3;
} }
static u32 ai_scan_counter_6xxx(struct comedi_device *dev, static u32 ai_scan_counter_6xxx(struct comedi_device *dev,
struct comedi_cmd *cmd) struct comedi_cmd *cmd)
{ {
u32 count; u32 count;
...@@ -2296,7 +2296,7 @@ static u32 ai_scan_counter_6xxx(struct comedi_device *dev, ...@@ -2296,7 +2296,7 @@ static u32 ai_scan_counter_6xxx(struct comedi_device *dev,
} }
static u32 ai_convert_counter_4020(struct comedi_device *dev, static u32 ai_convert_counter_4020(struct comedi_device *dev,
struct comedi_cmd *cmd) struct comedi_cmd *cmd)
{ {
struct pcidas64_private *devpriv = dev->private; struct pcidas64_private *devpriv = dev->private;
unsigned int divisor; unsigned int divisor;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment