aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-08-19 19:04:43 +0100
committerBartosz Golaszewski <[email protected]>2023-08-22 11:41:17 +0200
commitdb3b16dcc7e4f5bfbe35806a54fb15dc858d19f8 (patch)
tree11059ae8d427284dd9bc3b4f0b019846e5b5ed1b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentbb5ad5ef7493ed21abc2c8b890204c8f79df86a8 (diff)
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions