clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 20 May 2022 21:20:58 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Sep 2022 10:28:05 +0000 (12:28 +0200)
commite827a5f32a0d2b454335939fb85bf9c72167a6b4
tree59d294a33ad14febb0e72bd8d81c4b199ade30f1
parent237b4ef4c08883ea0ae2716ae477b6beb3cc02c5
clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc()

[ Upstream commit b7fa6242f3e035308a76284560e4f918dad9b017 ]

We should have 'n', then 'size', not the opposite.
This is harmless because the 2 values are just multiplied, but having
the correct order silence a (unpublished yet) smatch warning.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/49d726d11964ca0e3757bdb5659e3b3eaa1572b5.1653081643.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/bcm/clk-raspberrypi.c