]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: mt2712: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 11:26:44 +0000 (19:26 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:32 +0000 (16:17 -0700)
commit94ba94267585f3c370d63d9392fb8f970709015a
tree0baff1b38098a4c2e689390933acf3012fd086e3
parent36e4f48de901d8bebe58ef204c8fc018e487556f
clk: mediatek: mt2712: 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/20191015112644.19816-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt2712.c