[PATCH] serial/imx: only parse for iomem resources once
u.kleine-koenig at pengutronix.de
Thu Apr 22 10:33:43 EDT 2010
On Wed, Apr 21, 2010 at 04:33:58PM +0800, Jeremy Kerr wrote:
> Currently, the iomem resources are parsed in serial_imx_probe, then
> again in imx_request_port and imx_release_port.
> This change uses the imx_port data to retrieve the start and size of the
> memory region, rather than re-parsing the resources through
> Signed-off-by: Jeremy Kerr <jeremy.kerr at canonical.com>
What are the effects for this regarding run time? How often are
request_port and release_port called? I wonder if it's worth to save
the value. Or what else than run time is your concern?
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel