spi: intel: Use correct order for the parameters of devm_kcalloc()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 21 May 2022 06:59:35 +0000 (08:59 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:41:28 +0000 (12:41 +0100)
commit1f19a2d1d6b9a5796182874eecdd5a67dd94b90c
tree60249409754b000544d819aaa8c5bb525092a37f
parentdd9c232d47277960aba0c603c87a1cfd85d69438
spi: intel: Use correct order for the parameters of devm_kcalloc()

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/d114558dd0351b863ced8cc01b31754a5a4b960d.1653116362.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-intel.c