gpio: sodaville: Convert to use managed functions pcim_* and devm_*
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Nov 2018 19:18:04 +0000 (21:18 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 2 Dec 2018 13:40:21 +0000 (15:40 +0200)
commit9381fc5d655d172af737b5f16749a63e4b931040
tree7d87139a8a0e62c85c9326de51ae234ed0ed8c93
parent6ad02b29b836b6180263f14cc41147f4cb6d6a70
gpio: sodaville: Convert to 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>
drivers/gpio/gpio-sodaville.c