Move quirks initialization to the hid_pidff_init function

This commit is contained in:
Oleg
2024-07-15 18:17:17 +03:00
parent a0b20c7055
commit d132ca633f
3 changed files with 7 additions and 32 deletions

View File

@@ -69,9 +69,9 @@ static int universal_pidff_probe(struct hid_device *hdev,
goto err;
}
ret = hid_pidff_init_with_quirks(hdev, id);
ret = hid_pidff_init(hdev, id);
if (ret) {
hid_warn(hdev, "Force feedback not supported\n");
hid_warn(hdev, "Force feedback is not supported\n");
goto err;
}