]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pch: 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)
commit8db477489cc6121c6bbc5ab8b20067f2bb14f489
treeeb8f404b64f69858b757e9d2c2e8e922ca5d48e9
parent5ab23faf8ad73ce0f688f3ba9108aefc5041398f
gpio: pch: 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-pch.c