Commit 6b9214b7 authored by Surya Seetharaman's avatar Surya Seetharaman Committed by Greg Kroah-Hartman

Staging: comedi: nio_tiocmd: fixed a brace coding style issue.

Removed unnecessary braces using checkpatch.pl tool
Signed-off-by: default avatarSurya Seetharaman <suryaseetharaman.9@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac2f46c3
...@@ -449,11 +449,10 @@ void ni_tio_handle_interrupt(struct ni_gpct *counter, ...@@ -449,11 +449,10 @@ void ni_tio_handle_interrupt(struct ni_gpct *counter,
return; return;
} }
gpct_mite_status = mite_get_status(counter->mite_chan); gpct_mite_status = mite_get_status(counter->mite_chan);
if (gpct_mite_status & CHSR_LINKC) { if (gpct_mite_status & CHSR_LINKC)
writel(CHOR_CLRLC, writel(CHOR_CLRLC,
counter->mite_chan->mite->mite_io_addr + counter->mite_chan->mite->mite_io_addr +
MITE_CHOR(counter->mite_chan->channel)); MITE_CHOR(counter->mite_chan->channel));
}
mite_sync_input_dma(counter->mite_chan, s); mite_sync_input_dma(counter->mite_chan, s);
spin_unlock_irqrestore(&counter->lock, flags); spin_unlock_irqrestore(&counter->lock, flags);
} }
......
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