OSDN Git Service

staging: clocking-wizard: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Oct 2019 15:04:27 +0000 (23:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 09:00:59 +0000 (11:00 +0200)
commitf595f03bfdfc3ce4526a653174024250d7287a8d
tree2f4956831728dfcbd4a8c8532d298941314ac806
parentfbf12784d3434ebd35a9712e649b52fd14d2fbb2
staging: clocking-wizard: 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://lore.kernel.org/r/20191009150427.10852-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c