diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-10-01 16:01:13 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-10-10 13:39:38 +0200 |
commit | 2e44555b05c0c04cf199348fbec5640f69deef8c (patch) | |
tree | 0520b2c7332320b87efb5cb582a03cb89e593929 /tools/perf/scripts/python | |
parent | b03f7aa802b6b89165b4ad340129ef2cbac231a4 (diff) |
pinctrl: mcp23s08: Simplify probe()/mcp23s08_spi_regmap_init()
Add struct mcp23s08_info and simplify probe()/mcp23s08_spi_regmap_init() by
replacing match data 'type' with 'struct mcp23s08_info'.
While at it, replace 'dev_err()'->'dev_err_probe()' and drop printing
'type' in error path for i2c_get_match_data().
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-4-biju.das.jz@bp.renesas.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions