diff options
author | 2021-06-03 15:49:55 +0800 | |
---|---|---|
committer | 2021-06-23 16:51:03 +0300 | |
commit | 5a118a39ec9207f9b8cddb013ad270c80bc84a1c (patch) | |
tree | 9da6a2856133df4415e65e4ee7234ad6e4322bac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tpm: fix some doc warnings in tpm1-cmd.c (diff) | |
download | linux-dev-5a118a39ec9207f9b8cddb013ad270c80bc84a1c.tar.xz linux-dev-5a118a39ec9207f9b8cddb013ad270c80bc84a1c.zip |
tpm_tis: Use DEFINE_RES_MEM() to simplify code
Use DEFINE_RES_MEM() to save a couple of lines of code, which is simpler
and more readable. The start address does not need to appear twice.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions