Re: [PATCH 03/11] spi/pxa2xx-pci: switch to use pcim_* interfaces

2013-01-08 Thread Mark Brown
On Mon, Jan 07, 2013 at 12:44:32PM +0200, Mika Westerberg wrote: > Instead of open-coding all the error management in the driver we can take > advantage of the pcim_* interfaces that release the resources automatically. Applied, thanks. signature.asc Description: Digital signature

[PATCH 03/11] spi/pxa2xx-pci: switch to use pcim_* interfaces

2013-01-07 Thread Mika Westerberg
Instead of open-coding all the error management in the driver we can take advantage of the pcim_* interfaces that release the resources automatically. We also use platform_device_register_full() to register the platform device because it allows us to create and register the platform device at one