]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70b0a0b0cd2fb5ee7bb3c39ba84164a068205efb
tree7d87139a8a0e62c85c9326de51ae234ed0ed8c93
parent4cff12ad6e9be827ed10c2ec8c270811b420a22c
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