public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: Hartley Sweeten <HartleyS@visionengravers.com>,
	"driverdev-devel@linuxdriverproject.org" 
	<driverdev-devel@linuxdriverproject.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 00/19] staging: comedi: amplc_pci230: tidy up a bit
Date: Wed, 30 Jul 2014 13:00:53 +0100	[thread overview]
Message-ID: <53D8DE75.30306@mev.co.uk> (raw)
In-Reply-To: <DC148C5AA1CEBA4E87973D432B1C2D8825F28E5A@P3PWEX4MB008.ex4.secureserver.net>

On 2014-07-30 01:54, Hartley Sweeten wrote:
> On Tuesday, July 29, 2014 4:58 AM, Ian Abbott wrote:
>>
>> Tidy up the "amplc_pci230" driver a bit.  There are more changes to come
>> after this.  The only one of these that should alter the object code is
>> patch 06, which replaces a udelay() call with usleep_range().
>>
>> 01) staging: comedi: amplc_pci230: reformat a load of comments
>> 02) staging: comedi: amplc_pci230: fix checkpatch line over 80
>>      characters
>> 03) staging: comedi: amplc_pci230: logical continuations should be on
>>      the previous line
>> 04) staging: comedi: amplc_pci230: blank lines aren't necessary before a
>>      close brace '}'
>> 05) staging: comedi: amplc_pci230: alignment should match open
>>      parenthesis
>> 06) staging: comedi: amplc_pci230: usleep_range is preferred over udelay
>> 07) staging: comedi: amplc_pci230: remove unused settling time constants
>> 08) staging: comedi: amplc_pci230: remove PCI230_ADC_CONV
>> 09) staging: comedi: amplc_pci230: remove PCI230_TEST_BIT()
>> 10) staging: comedi: amplc_pci230: add whitespace to register values
>> 11) staging: comedi: amplc_pci230: don't begin line with binary operator
>> 12) staging: comedi: amplc_pci230: omit '!= 0' from logical expressions
>> 13) staging: comedi: amplc_pci230: remove unnecessary braces
>> 14) staging: comedi: amplc_pci230: remove some indentation in
>>      pci230_ai_check_chanlist()
>> 15) staging: comedi: amplc_pci230: no need for '&function'
>> 16) staging: comedi: amplc_pci230: add whitespace to pci230_boards[]
>> 17) staging: comedi: amplc_pci230: no need to initialize named members
>>      to zero
>> 18) staging: comedi: amplc_pci230: tidy up stuct pci230_private
>> 19) staging: comedi: amplc_pci230: remove some unnecessary parentheses
>>
>>   drivers/staging/comedi/drivers/amplc_pci230.c | 1417 +++++++++++++------------
>>   1 file changed, 736 insertions(+), 681 deletions(-)
>
> Other than my comment about patch 13, this looks ok.
>
> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>

I've posted v2 patches for patches 13 and 19.  Patch 13 v2 is less 
aggressive about brace removal.  Patch 19 is updated to v2 because of 
conflicts with the new patch 13.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

      reply	other threads:[~2014-07-30 12:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-29 11:58 [PATCH 00/19] staging: comedi: amplc_pci230: tidy up a bit Ian Abbott
2014-07-29 11:58 ` [PATCH 01/19] staging: comedi: amplc_pci230: reformat a load of comments Ian Abbott
2014-07-29 11:58 ` [PATCH 02/19] staging: comedi: amplc_pci230: fix checkpatch line over 80 characters Ian Abbott
2014-07-29 11:58 ` [PATCH 03/19] staging: comedi: amplc_pci230: logical continuations should be on the previous line Ian Abbott
2014-07-29 11:58 ` [PATCH 04/19] staging: comedi: amplc_pci230: blank lines aren't necessary before a close brace '}' Ian Abbott
2014-07-29 11:58 ` [PATCH 05/19] staging: comedi: amplc_pci230: alignment should match open parenthesis Ian Abbott
2014-07-29 11:58 ` [PATCH 06/19] staging: comedi: amplc_pci230: usleep_range is preferred over udelay Ian Abbott
2014-07-29 11:58 ` [PATCH 07/19] staging: comedi: amplc_pci230: remove unused settling time constants Ian Abbott
2014-07-29 11:58 ` [PATCH 08/19] staging: comedi: amplc_pci230: remove PCI230_ADC_CONV Ian Abbott
2014-07-29 11:58 ` [PATCH 09/19] staging: comedi: amplc_pci230: remove PCI230_TEST_BIT() Ian Abbott
2014-07-29 11:58 ` [PATCH 10/19] staging: comedi: amplc_pci230: add whitespace to register values Ian Abbott
2014-07-29 11:58 ` [PATCH 11/19] staging: comedi: amplc_pci230: don't begin line with binary operator Ian Abbott
2014-07-29 11:58 ` [PATCH 12/19] staging: comedi: amplc_pci230: omit '!= 0' from logical expressions Ian Abbott
2014-07-29 11:58 ` [PATCH 13/19] staging: comedi: amplc_pci230: remove unnecessary braces Ian Abbott
2014-07-30  0:34   ` Hartley Sweeten
2014-07-30 11:53   ` [PATCH 13/19 v2] " Ian Abbott
2014-07-30 13:41     ` Dan Carpenter
2014-07-30 14:04       ` Ian Abbott
2014-07-30 14:09         ` Dan Carpenter
2014-07-30 14:27           ` Ian Abbott
2014-07-30 16:15             ` Hartley Sweeten
2014-07-30 23:53               ` Greg Kroah-Hartman
2014-07-29 11:58 ` [PATCH 14/19] staging: comedi: amplc_pci230: remove some indentation in pci230_ai_check_chanlist() Ian Abbott
2014-07-29 11:58 ` [PATCH 15/19] staging: comedi: amplc_pci230: no need for '&function' Ian Abbott
2014-07-29 11:58 ` [PATCH 16/19] staging: comedi: amplc_pci230: add whitespace to pci230_boards[] Ian Abbott
2014-07-29 11:58 ` [PATCH 17/19] staging: comedi: amplc_pci230: no need to initialize named members to zero Ian Abbott
2014-07-29 11:58 ` [PATCH 18/19] staging: comedi: amplc_pci230: tidy up stuct pci230_private Ian Abbott
2014-07-29 11:58 ` [PATCH 19/19] staging: comedi: amplc_pci230: remove some unnecessary parentheses Ian Abbott
2014-07-30 11:55   ` [PATCH 19/19 v2] " Ian Abbott
2014-07-30  0:54 ` [PATCH 00/19] staging: comedi: amplc_pci230: tidy up a bit Hartley Sweeten
2014-07-30 12:00   ` Ian Abbott [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D8DE75.30306@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=HartleyS@visionengravers.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox