From: Grant Likely <grant.likely@secretlab.ca>
To: Hartmut Knaack <knaack.h@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] gpiolib: output basic details and consolidate gpio device drivers
Date: Sun, 6 Nov 2011 11:33:36 -0700 [thread overview]
Message-ID: <20111106183336.GA2546@ponder.secretlab.ca> (raw)
In-Reply-To: <4EB5AA57.7070008@gmx.de>
On Sat, Nov 05, 2011 at 10:27:51PM +0100, Hartmut Knaack wrote:
> This patch adds a kernel message, containing GPIO range and device name on successful device registration.
>
> Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
> -------------------------------------------------------------
For next time; the divider between commit text and patch must be
exactly 3 '-' characters long, no more, no less. Otherwise the tools
don't handle it properly.
> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
> index a971e3d..d919ac6 100644
> --- a/drivers/gpio/gpiolib.c
> +++ b/drivers/gpio/gpiolib.c
> @@ -1088,6 +1088,10 @@ unlock:
> status = gpiochip_export(chip);
> if (status)
> goto fail;
> +
Whitespace error.
Otherwise looks good. I'm picking it up and squashing it together
with the second patch.
> + pr_info("gpiochip_add: registered GPIOs %d to %d on device: %s\n",
> + chip->base, chip->base + chip->ngpio - 1,
> + chip->label ? : "generic");
>
> return 0;
> fail:
>
prev parent reply other threads:[~2011-11-06 18:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-05 21:27 [PATCH 1/2] gpiolib: output basic details and consolidate gpio device drivers Hartmut Knaack
2011-11-06 18:33 ` Grant Likely [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=20111106183336.GA2546@ponder.secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=knaack.h@gmx.de \
--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