diff options
author | 2021-06-03 10:52:21 +0200 | |
---|---|---|
committer | 2021-06-21 18:28:01 +0900 | |
commit | f33c056dea2ea6633d40d36371457380d372c607 (patch) | |
tree | 4f2dde8fe15e2a597199e7a870294d70d441984a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: extcon: sm5502: Document siliconmitus,sm5504-muic (diff) | |
download | linux-dev-f33c056dea2ea6633d40d36371457380d372c607.tar.xz linux-dev-f33c056dea2ea6633d40d36371457380d372c607.zip |
extcon: sm5502: Refactor driver to use chip-specific struct
Prepare for supporting SM5504 in the extcon-sm5502 driver by replacing
enum sm5504_types with a struct sm5504_type that stores the chip-specific
definitions. This struct can then be defined separately for SM5504
without having to add if (type == TYPE_SM5504) everywhere in the code.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions