aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-06-25 18:28:15 +0200
committerDmitry Torokhov <[email protected]>2023-07-07 16:54:30 -0700
commita2c795b696b20ebc56462a2fbbc0d612ef265389 (patch)
tree7cc8f1541fc754c27182df9698ad5a8e140e9539 /tools/perf/scripts/python
parent337ac36c3bc0be71e73322cbbc0d6a8b8a2c05f6 (diff)
Input: bcm-keypad - simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with dev_err_probe() and devm_clk_get_optional(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions