Re: [PATCH 1/3] spi: fsl-(e)spi: migrate to using devm_ functions to simplify cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 23, 2015 at 02:20:58PM +0200, Heiner Kallweit wrote:

> -	mpc8xxx_spi->reg_base = ioremap(mem->start, resource_size(mem));
> +	mpc8xxx_spi->reg_base = devm_ioremap(dev, mem->start,
> +					     resource_size(mem));

What would be even nicer here would be to convert to devm_ioremap_resource()

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux