]> git.baikalelectronics.ru Git - kernel.git/commit
clk: bcm: dvp: drop a variable that is assigned to only
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 20 Nov 2020 13:21:21 +0000 (14:21 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 19 Dec 2020 19:45:47 +0000 (11:45 -0800)
commitc82cf05190d482bb3546dffd6a337f38e105daf7
tree86eb3ccfafc9ea65c849e6ecc4c2513654f5cd08
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
clk: bcm: dvp: drop a variable that is assigned to only

The third parameter to devm_platform_get_and_ioremap_resource() is used
only to provide the used resource. As this variable isn't used
afterwards, switch to the function devm_platform_ioremap_resource()
which doesn't provide this output parameter.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20201120132121.2678997-1-u.kleine-koenig@pengutronix.de
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/bcm/clk-bcm2711-dvp.c