aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-10-01 16:01:13 +0100
committerLinus Walleij <[email protected]>2023-10-10 13:39:38 +0200
commit2e44555b05c0c04cf199348fbec5640f69deef8c (patch)
tree0520b2c7332320b87efb5cb582a03cb89e593929 /scripts/generate_rust_analyzer.py
parentb03f7aa802b6b89165b4ad340129ef2cbac231a4 (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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions