]> 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)
commit4cff12ad6e9be827ed10c2ec8c270811b420a22c
treeeb8f404b64f69858b757e9d2c2e8e922ca5d48e9
parentf3c7f7012397d9836d5da46c0940503141a35bb3
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