ASoC: cs42l73: Improve two size determinations in cs42l73_i2c_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 22 Nov 2017 15:07:42 +0000 (16:07 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2017 13:10:35 +0000 (13:10 +0000)
commit68fa08c665e51b2fe100876692e57bca3aea7711
treef32c031cb5990008b54cfd2946756838705bc9a9
parentddedd797943df21a2464420744d117e930a43af8
ASoC: cs42l73: Improve two size determinations in cs42l73_i2c_probe()

Replace the specification of two data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l73.c