* [PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations
@ 2019-03-21 19:18 Arash Fotouhi
2019-03-22 10:32 ` Ian Abbott
0 siblings, 1 reply; 2+ messages in thread
From: Arash Fotouhi @ 2019-03-21 19:18 UTC (permalink / raw)
To: abbotti
Cc: hsweeten, gregkh, olsonse, giulio.benetti, devel, linux-kernel,
Arash Fotouhi
Added blank line after declarations.
Signed-off-by: Arash Fotouhi <arash@arashfotouhi.com>
---
drivers/staging/comedi/drivers/ni_mio_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c
index 5edf59a..c6aff8f 100644
--- a/drivers/staging/comedi/drivers/ni_mio_common.c
+++ b/drivers/staging/comedi/drivers/ni_mio_common.c
@@ -2110,6 +2110,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
if (cmd->scan_begin_src == TRIG_TIMER) {
unsigned int tmp = cmd->scan_begin_arg;
+
cmd->scan_begin_arg =
ni_timer_to_ns(dev, ni_ns_to_timer(dev,
cmd->scan_begin_arg,
@@ -2120,6 +2121,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
if (cmd->convert_src == TRIG_TIMER) {
if (!devpriv->is_611x && !devpriv->is_6143) {
unsigned int tmp = cmd->convert_arg;
+
cmd->convert_arg =
ni_timer_to_ns(dev, ni_ns_to_timer(dev,
cmd->convert_arg,
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations
2019-03-21 19:18 [PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations Arash Fotouhi
@ 2019-03-22 10:32 ` Ian Abbott
0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2019-03-22 10:32 UTC (permalink / raw)
To: Arash Fotouhi
Cc: hsweeten, gregkh, olsonse, giulio.benetti, devel, linux-kernel
On 21/03/2019 19:18, Arash Fotouhi wrote:
> Added blank line after declarations.
>
> Signed-off-by: Arash Fotouhi <arash@arashfotouhi.com>
> ---
> drivers/staging/comedi/drivers/ni_mio_common.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c
> index 5edf59a..c6aff8f 100644
> --- a/drivers/staging/comedi/drivers/ni_mio_common.c
> +++ b/drivers/staging/comedi/drivers/ni_mio_common.c
> @@ -2110,6 +2110,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
>
> if (cmd->scan_begin_src == TRIG_TIMER) {
> unsigned int tmp = cmd->scan_begin_arg;
> +
> cmd->scan_begin_arg =
> ni_timer_to_ns(dev, ni_ns_to_timer(dev,
> cmd->scan_begin_arg,
> @@ -2120,6 +2121,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
> if (cmd->convert_src == TRIG_TIMER) {
> if (!devpriv->is_611x && !devpriv->is_6143) {
> unsigned int tmp = cmd->convert_arg;
> +
> cmd->convert_arg =
> ni_timer_to_ns(dev, ni_ns_to_timer(dev,
> cmd->convert_arg,
>
Looks good, thanks.
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
--
-=( Ian Abbott <abbotti@mev.co.uk> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268. Registered address: )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-22 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 19:18 [PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations Arash Fotouhi
2019-03-22 10:32 ` Ian Abbott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).