From: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: davidb@codeaurora.org, dwalker@fifo99.com,
"David S. Miller" <davem@davemloft.net>,
Andrew Morton <akpm@linux-foundation.org>,
Bryan Huntsman <bryanh@codeaurora.org>,
David Collins <collinsd@codeaurora.org>,
Greg Kroah-Hartman <gregkh@suse.de>,
Joe Perches <joe@perches.com>,
Russell King <linux@arm.linux.org.uk>,
Samuel Ortiz <sameo@linux.intel.com>,
Stepan Moskovchenko <stepanm@codeaurora.org>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Linus Walleij <linux.walleij@linaro.org>,
Thomas Glexiner <tglx@linutronix.de>,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PM8921 MFD V3 3/6] gpio: pm8xxx-gpio: Add pm8xxx gpio driver
Date: Thu, 17 Mar 2011 13:27:22 -0700 [thread overview]
Message-ID: <4D826EAA.3070807@codeaurora.org> (raw)
In-Reply-To: <20110317180013.GJ9597@angua.secretlab.ca>
Grant Likely wrote:
> On Wed, Mar 16, 2011 at 07:23:58PM -0700, adharmap@codeaurora.org wrote:
>> Add support for GPIO on Qualcomm PM8xxx PMIC chips.
>>
>> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
>
> Minor points below, but otherwise:
>
> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Thanks Grant, can you review (and ack) drivers/mfd/pm8xxx-mpp.c? Now
that I think, mpp is basically a gpio device, so should I move it to
drivers/gpio?
mpp is the 4th patch in this series and can be found here.
https://patchwork.kernel.org/patch/640891/
>> diff --git a/drivers/gpio/pm8xxx-gpio.c b/drivers/gpio/pm8xxx-gpio.c
>> new file mode 100644
>> index 0000000..8995764
>> --- /dev/null
>> +++ b/drivers/gpio/pm8xxx-gpio.c
>> @@ -0,0 +1,455 @@
>> +/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
>
> Nit: first line should be '/*' and start the comments on the second
> line. It also helps for the first line of the comment block to be a
> single line description of what the driver actually is. (a
> description, not a filename).
>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 and
>> + * only version 2 as published by the Free Software Foundation.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>> + * GNU General Public License for more details.
>> + */
>> +
>> +/*
>> + * Qualcomm PMIC8XXX GPIO driver
>
> Heh, this is the line I just was talking about should appear at the
> top of the file. :-)
Ok I will make this change for all the files in the patchset.
>> +
>> +static int __init pm_gpio_init(void)
>> +{
>> + int rc = platform_driver_register(&pm_gpio_driver);
>> +
>> + return rc;
>> +}
>
> Or simply:
>
> return platform_driver_register(&pm_gpio_driver);
yes will do.
--
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm
Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2011-03-17 20:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-17 2:23 [PM8921 MFD V3 0/6] pmic8921 core and subdevices adharmap
2011-03-17 2:23 ` [PM8921 MFD V3 1/6] mfd: pm8921: Add PMIC 8921 core driver adharmap
2011-03-17 2:23 ` [PM8921 MFD V3 2/6] mfd: pm8xxx: Add irq support adharmap
2011-03-17 9:59 ` Thomas Gleixner
2011-03-17 2:23 ` [PM8921 MFD V3 3/6] gpio: pm8xxx-gpio: Add pm8xxx gpio driver adharmap
2011-03-17 18:00 ` Grant Likely
2011-03-17 20:27 ` Abhijeet Dharmapurikar [this message]
2011-03-17 20:35 ` Grant Likely
2011-03-17 2:23 ` [PM8921 MFD V3 4/6] mfd: pm8xxx-mpp: Add pm8xxx MPP driver adharmap
2011-03-17 2:24 ` [PM8921 MFD V3 5/6] MAINTAINERS: Add patterns for pmic 8921 files to MSM subsystem adharmap
2011-03-17 2:24 ` [PM8921 MFD V3 6/6] msm: board-8960: Add support for pm8921 adharmap
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=4D826EAA.3070807@codeaurora.org \
--to=adharmap@codeaurora.org \
--cc=akpm@linux-foundation.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=bryanh@codeaurora.org \
--cc=collinsd@codeaurora.org \
--cc=davem@davemloft.net \
--cc=davidb@codeaurora.org \
--cc=dwalker@fifo99.com \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=joe@perches.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux.walleij@linaro.org \
--cc=linux@arm.linux.org.uk \
--cc=sameo@linux.intel.com \
--cc=stepanm@codeaurora.org \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).