summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-01-07 12:44:32 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-08 10:59:08 +0000
commit0202775bc3a28f2436ea6ee13ef3eb0e8f237857 (patch)
tree3431707a3563d7c4909b9f5f3cc1d6ca6894c31b /virt/kvm
parente1b0f0df6a08329ce2f123240a5218c3e5c43b74 (diff)
downloadlinux-0202775bc3a28f2436ea6ee13ef3eb0e8f237857.tar.gz
linux-0202775bc3a28f2436ea6ee13ef3eb0e8f237857.tar.bz2
linux-0202775bc3a28f2436ea6ee13ef3eb0e8f237857.zip
spi/pxa2xx-pci: switch to use pcim_* interfaces
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 go, simplifying the error management. This a preparatory step for getting rid of pxa_ssp_request()/free() which we will do in the next patch. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions