]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: mt8183: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 12:14:21 +0000 (20:14 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:17:40 +0000 (16:17 -0700)
commit56cc0a5f0e8b08d9f2ef13d46f3dd201f2adf569
tree5bedf99e96b128864d98cfb84f5a75f84564aed9
parentc9d4f7e80809e5cd157aa50785dd3d8b9c045c60
clk: mediatek: mt8183: 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/20191015121421.26144-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8183.c