Am 25.08.2015 um 19:26 schrieb Mark Brown:
> 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()
Thanks for the hint, I'll check.

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to