From: Mika Westerberg <mika.westerberg@iki.fi>
To: Hannu Heikkinen <hannuxx@iki.fi>
Cc: spi-devel-general@lists.sourceforge.net,
linux-kernel@vger.kernel.org, grant.likely@secretlab.ca
Subject: Re: [PATCH] spi/ep93xx: clean probe/remove routines
Date: Thu, 19 Apr 2012 09:16:09 +0300 [thread overview]
Message-ID: <20120419061609.GC18520@mwesterb-mobl.lan> (raw)
In-Reply-To: <1334752571-24627-1-git-send-email-hannuxx@iki.fi>
On Wed, Apr 18, 2012 at 03:36:11PM +0300, Hannu Heikkinen wrote:
> Use devm_* functions for managing devres resources.
>
> Also use local espi_irq and remove irq variable from
> struct ep93xx_spi.
>
> Cc: mika.westerberg@iki.fi
> Cc: grant.likely@secretlab.ca
> Signed-off-by: Hannu Heikkinen <hannuxx@iki.fi>
> ---
> drivers/spi/spi-ep93xx.c | 36 ++++++++++--------------------------
> 1 file changed, 10 insertions(+), 26 deletions(-)
>
> diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
> index 6db2887..2c5fb81 100644
> --- a/drivers/spi/spi-ep93xx.c
> +++ b/drivers/spi/spi-ep93xx.c
> @@ -114,7 +114,6 @@ struct ep93xx_spi {
> struct clk *clk;
> void __iomem *regs_base;
> unsigned long sspdr_phys;
> - int irq;
> unsigned long min_rate;
> unsigned long max_rate;
> bool running;
> @@ -1035,6 +1034,7 @@ static int __devinit ep93xx_spi_probe(struct platform_device *pdev)
> struct ep93xx_spi_info *info;
> struct ep93xx_spi *espi;
> struct resource *res;
> + int espi_irq;
Since you are going to make a new version of the patch anyway, can you rename
'espi_irq' to just plain 'irq'?
After that you can add my
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
next prev parent reply other threads:[~2012-04-19 6:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 12:36 Hannu Heikkinen
2012-04-18 16:09 ` H Hartley Sweeten
2012-04-19 6:19 ` Mika Westerberg
2012-04-19 6:16 ` Mika Westerberg [this message]
2012-04-19 6:39 ` Hannu Heikkinen
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=20120419061609.GC18520@mwesterb-mobl.lan \
--to=mika.westerberg@iki.fi \
--cc=grant.likely@secretlab.ca \
--cc=hannuxx@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=spi-devel-general@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®