]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: bcm2835: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Mon, 14 Oct 2019 14:36:42 +0000 (22:36 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Oct 2019 23:16:50 +0000 (16:16 -0700)
commit4d3a369510dda6336534c4364910312f432c54a5
tree6278ee2dc261032d115cb2d56b38c7a8d8de1f5c
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
clk: bcm2835: 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/20191014143642.24552-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/bcm/clk-bcm2835-aux.c
drivers/clk/bcm/clk-bcm2835.c