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 > platform_get_resource. > > Signed-off-by: Jeremy Kerr <jeremy.kerr@xxxxxxxxxxxxx> 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? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html