diff options
author | Dan Carpenter <[email protected]> | 2024-01-05 16:47:54 +0300 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2024-01-22 11:37:27 +0100 |
commit | 8446f9d11678bc268897882e86733d73204f83c4 (patch) | |
tree | 5e2f0253e8bc8a88a6341441a9058867a6a73090 /rust/macros/helpers.rs | |
parent | 29e473f4b51ee56b5808323e274a8369b4d181cb (diff) |
platform/x86: wmi: Fix wmi_dev_probe()
This has a reversed if statement so it accidentally disables the wmi
method before returning.
Fixes: 704af3a40747 ("platform/x86: wmi: Remove chardev interface")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions