[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120420120950.GA15613@pengutronix.de>
Date: Fri, 20 Apr 2012 14:09:50 +0200
From: Wolfram Sang <w.sang@...gutronix.de>
To: Roland Stigge <stigge@...com.de>
Cc: grant.likely@...retlab.ca, robherring2@...il.com,
vitalywool@...il.com, khali@...ux-fr.org, ben-linux@...ff.org,
rob.herring@...xeda.com, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
arm@...nel.org, linux-arm-kernel@...ts.infradead.org,
kevin.wells@....com, srinivas.bakki@....com
Subject: Re: [PATCH v5] i2c: Add device tree support to i2c-pnx.c
On Fri, Apr 20, 2012 at 11:22:35AM +0200, Roland Stigge wrote:
> This patch adds device tree support to the pnx-i2c driver by using platform
> resources for memory region and irq and removing dependency on mach includes.
>
> The following platforms are affected:
>
> * PNX
> * LPC31xx (WIP)
> * LPC32xx
>
> The patch is based on a patch by Jon Smirl, working on lpc31xx integration
>
> Signed-off-by: Roland Stigge <stigge@...com.de>
> Reviewed-by: Arnd Bergmann <arnd@...db.de>
> Acked-by: Wolfram Sang <w.sang@...gutronix.de>
NACK! I said the approach of dropping "timeout" is OK, but unless I say
"you may add my ack after changing this and that", please do not
automatically add my ack. Doesn't hurt here, since I have to pick it up
anyway.
> Changes since v4:
> * Removed OF timeout property (to be added later when there is consensus about
> how to call and handle it)
> * Changed clock-frequency example to decimal
Thanks, I just noticed. Please drop (more precise: remove) the
"slave-addr" for the same reasons as "timeout". Doesn't make much sense
anyhow, pnx doesn't have any slave support.
> ret = request_irq(alg_data->irq, i2c_pnx_interrupt,
> - 0, pdev->name, alg_data);
> + 0, pdev->name, alg_data);
I know that checkpatch complains about this, but I'd prefer to avoid
such changes unless the code before was really unreadable.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists