diff options
| author | Biju Das <[email protected]> | 2023-09-06 09:06:16 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-02 13:56:08 +0200 |
| commit | e2d514dffcb583977150a6bee9d39aeb393ee8d9 (patch) | |
| tree | 3fd2156a54eb65b9e99c789efaa30b11e5cbf1b7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 343a9d34a74359dba67c10e394dbd68c621fa657 (diff) | |
usb: typec: tcpci_rt1711h: Convert enum->pointer for data in the match tables
Currently did varaible is used for HW differences between the devices which
complicates the code by adding checks.
Therefore it is better to convert enum->pointer for data match and extend
match support for both ID and OF tables by using i2c_get_match_data().
Add struct rt1711h_chip_info with did variable and replace did->info in
struct rt1711h_chip. Later patch will add more hw differences to
struct rt1711h_chip_info and avoid checking did for HW differences.
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions