pch_gbe: use managed functions pcim_* and devm_*
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Jun 2013 11:02:54 +0000 (14:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2013 04:37:48 +0000 (21:37 -0700)
commit29cc436cb90da4cabf404d8ceedc762fc7387b15
tree27a0b651fb6b5705417e5a22bde9686b5e122f09
parent453ca931f515161902dbb325d7f39a992c3059ce
pch_gbe: use managed functions pcim_* and devm_*

This makes the error handling much more simpler than open-coding everything and
in addition makes the probe function smaller an tidier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c