diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-08-19 21:04:43 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-22 12:41:17 +0300 |
commit | db3b16dcc7e4f5bfbe35806a54fb15dc858d19f8 (patch) | |
tree | 11059ae8d427284dd9bc3b4f0b019846e5b5ed1b /scripts/gdb/linux/utils.py | |
parent | bb5ad5ef7493ed21abc2c8b890204c8f79df86a8 (diff) | |
download | linux-db3b16dcc7e4f5bfbe35806a54fb15dc858d19f8.tar.xz |
gpio: pcf857x: Extend match data support for OF tables
The driver has OF match table, but still it uses an ID lookup table for
retrieving match data. Currently, the driver is working on the
assumption that an I2C device registered via OF will always match a
legacy I2C device ID. Extend match data support for OF tables by using
i2c_get_match_data() instead of the ID lookup for both OF/ID matches by
making similar OF/ID tables.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions