commit | cd9e0b8282653d8bdc2c8b799eeb26ee034cdd06 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Wed Nov 22 22:11:30 2017 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 27 13:01:07 2017 +0000 |
tree | 3c86ff1b6ed8f7f42d658fb354869ab8a92cf206 | |
parent | e04db58c1252305e8a4d4178a3cfdbef802cff74 [diff] |
ASoC: cs42l52: Improve two size determinations in cs42l52_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>