diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-01-31 02:42:07 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-02-01 22:24:25 +0100 |
| commit | 289b14592cefe95f7d0ef334873c12b96ce3824f (patch) | |
| tree | 5ecf33ea77a1435c6112934138d9f65637115a5c /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 726c262060252e13d5805f9acc382fb9f081ba07 (diff) | |
driver core: fix inverted "locked" suffix of driver_match_device()
In the current implementation driver_match_device() expects the device
lock to be held, while driver_match_device_locked() acquires the device
lock.
By convention it should be the other way around, hence swap the name of
both functions.
Fixes: dc23806a7c47 ("driver core: enforce device_lock for driver_match_device()")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Gui-Dong Han <hanguidong02@gmail.com>
Link: https://patch.msgid.link/20260131014211.12841-1-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
