diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-10-01 17:01:11 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-10-10 13:39:38 +0200 |
commit | 880d3fcbe5b54920df7a5c8878ca6785938df62a (patch) | |
tree | ba57e5e04fc467bc84c579bbc4f5b01d74676f10 /usr | |
parent | pinctrl: realtek: Fix some NULL dereference warnings (diff) | |
download | linux-880d3fcbe5b54920df7a5c8878ca6785938df62a.tar.xz linux-880d3fcbe5b54920df7a5c8878ca6785938df62a.zip |
pinctrl: mcp23s08_i2c: Extend match support for OF tables
The driver has OF match table, still it uses ID lookup table for
retrieving match data. Currently the driver is working on the
assumption that a I2C device registered via OF will always match a
legacy I2C device ID. The correct approach is to have an OF device ID
table using of_device_match_data() if the devices are registered via OF.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231001150113.7752-2-biju.das.jz@bp.renesas.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions