diff options
| author | Andy Shevchenko <[email protected]> | 2023-01-02 22:29:33 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-17 17:21:45 +0100 |
| commit | 8b9c6ab156b5a80d64e5a1d9c248cfcd61794dfc (patch) | |
| tree | 2b3deb7c86dd8a82a87046f3cd80473ba28ef814 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c3194949ae8fcbe2b7e38670e7c6a5cfd2605edc (diff) | |
usb: typec: intel_pmc_mux: Deduplicate ACPI matching in probe
There is no need to call acpi_dev_present() followed by
acpi_dev_get_first_match_dev() as they both do the same
with only difference in the returning value. Instead,
call the latter and check its result.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions