serial: 8250_pci: convert to pcim_*() API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Feb 2016 16:01:51 +0000 (18:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit3f64b1d3279afd11b3506f67cb55119b5d9bef8f
treeacdbadb5dcf12451ad993c771fef309c9e018ae1
parent31f28cc2a2458708514ec77eac59dd3d19a57a7e
serial: 8250_pci: convert to pcim_*() API

The managed API provides a better approach to help with acquiring and releasing
resources. Besides that error handling becomes simpler.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c