aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2017-11-23 08:33:15 +0000
committerMark Brown <[email protected]>2017-11-27 13:00:36 +0000
commite8d8b98c0a6edab5d6cc0292e1ed603d8d4ff5b6 (patch)
tree16bfc53a7544e921cbe2e33d74f2dfef26c240ed /drivers/acpi/cppc_acpi.c
parentASoC: cs42l56: Delete an error message for a failed memory allocation in cs42... (diff)
downloadkernel-e8d8b98c0a6edab5d6cc0292e1ed603d8d4ff5b6.tar.gz
kernel-e8d8b98c0a6edab5d6cc0292e1ed603d8d4ff5b6.zip
ASoC: cs42l56: Improve two size determinations in cs42l56_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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions