aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-10-01 16:01:12 +0100
committerLinus Walleij <linus.walleij@linaro.org>2023-10-10 13:39:38 +0200
commitb03f7aa802b6b89165b4ad340129ef2cbac231a4 (patch)
treebc078a83466bc6fe43074ebc6331d49f7911a901 /tools/perf/scripts/python/check-perf-trace.py
parent880d3fcbe5b54920df7a5c8878ca6785938df62a (diff)
pinctrl: mcp23s08_spi: Simplify probe()
Simpilfy probe() by replacing device_get_match_data() and ID lookup for retrieving match data by spi_get_device_match_data(). While at it, replace data type of variable type from 'int'->'unsigned int' and declare variables following a reverse christmas tree order. 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-3-biju.das.jz@bp.renesas.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions