]> git.baikalelectronics.ru Git - kernel.git/commit
clk: axs10x: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 14:22:59 +0000 (22:22 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:50 +0000 (16:17 -0700)
commit679e8ff6fdeb2e347610ef55e625b6bb4ecf554d
tree215f6c34104592f70c7dbbb0e865d9a4ef1cd26f
parent9d8dfe2753958aeaf0a0e5eb94ac5e14b9dd2253
clk: axs10x: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lkml.kernel.org/r/20191015142259.17216-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/axs10x/i2s_pll_clock.c
drivers/clk/axs10x/pll_clock.c