diff options
author | 2018-01-12 19:36:29 +0100 | |
---|---|---|
committer | 2018-01-17 07:44:15 +0100 | |
commit | 64fec0bcea0faa148151050bbb2c15da6a1423e0 (patch) | |
tree | f654e87b4cdfa79eab43c9951879674a47c0117e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gpio: stmpe: Use seq_putc() in stmpe_dbg_show() (diff) | |
download | wireguard-linux-64fec0bcea0faa148151050bbb2c15da6a1423e0.tar.xz wireguard-linux-64fec0bcea0faa148151050bbb2c15da6a1423e0.zip |
gpio: stmpe: Improve a size determination in stmpe_gpio_probe()
Replace the specification of a data structure by a pointer dereference
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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions