]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-i2s: fix coding-style for callback definition
authorClément Péron <peron.clem@gmail.com>
Fri, 30 Oct 2020 14:46:42 +0000 (15:46 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Oct 2020 17:58:57 +0000 (17:58 +0000)
commit06f7b0867991f6a4fcb8212e9a26b9bebacef5ba
tree37f24c812eee7eef9bf69f6eb97f86da67a7551f
parentd71b8d34c50c0ef5310664a2f43ba51eb29f6071
ASoC: sun4i-i2s: fix coding-style for callback definition

Checkpatch script produces warning:
WARNING: function definition argument 'const struct sun4i_i2s *'
should also have an identifier name.

Let's fix this by adding identifier name to get_bclk_parent_rate()
and set_fmt() callback definition.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Link: https://lore.kernel.org/r/20201030144648.397824-10-peron.clem@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c