Use helper function devm_clk_get_enabled() and devm_clk_get_optional_enabled() to simplify code. Zhang Zekun (4): gpio: cadence: Use helper function devm_clk_get_enabled() gpio: lpc18xx: Use helper function devm_clk_get_enabled() gpio: mb86s7x: Use helper function devm_clk_get_enabled() gpio: xilinx: Use helper function devm_clk_get_enabled() drivers/gpio/gpio-cadence.c | 23 ++++++----------------- drivers/gpio/gpio-lpc18xx.c | 23 ++++++----------------- drivers/gpio/gpio-mb86s7x.c | 21 +++++++-------------- drivers/gpio/gpio-xilinx.c | 11 +---------- 4 files changed, 20 insertions(+), 58 deletions(-) -- 2.17.1