diff options
author | Marek Vasut <[email protected]> | 2021-04-06 20:00:35 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-04-08 09:52:20 +0200 |
commit | 589b9b8b7b98ef091d1a5c5c6e27e9cef221d83f (patch) | |
tree | a69ba55c622f67362b31b659f9f7634048e71fb7 /tools/perf/scripts/python/intel-pt-events.py | |
parent | da35b19d62c17f1f25878be5cb2d8cd501b1c3c6 (diff) |
pinctrl: stm32: Print invalid AF warning inside stm32_pctrl_is_function_valid()
The "invalid function %d on pin %d .\n" message is triplicated in the
driver in different variants, just pull it into the function and have
it once in the driver. The bonus is that all variants of the message
now print the pin number and AF consistently, so it is easier to debug
such pinmux problems.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabien Dessenne <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
To: [email protected]
Acked-by: Fabien Dessenne <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions