]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: mt6797: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 12:47:28 +0000 (20:47 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:46 +0000 (16:17 -0700)
commit9d8dfe2753958aeaf0a0e5eb94ac5e14b9dd2253
treeaf19d261396929af6c77a4613f263e483306c83a
parent99b15f98cf65dbb15bc09971daafd1bc5c39c496
clk: mediatek: mt6797: 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/20191015124728.25072-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6797.c