Commit 58a9f397 authored by Corentin Chary's avatar Corentin Chary Committed by Matthew Garrett

asus-wmi: swap input name and phys

Signed-off-by: default avatarCorentin Chary <corentin.chary@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent bda1a730
...@@ -201,8 +201,8 @@ static int asus_wmi_input_init(struct asus_wmi *asus) ...@@ -201,8 +201,8 @@ static int asus_wmi_input_init(struct asus_wmi *asus)
if (!asus->inputdev) if (!asus->inputdev)
return -ENOMEM; return -ENOMEM;
asus->inputdev->name = asus->driver->input_phys; asus->inputdev->name = asus->driver->input_name;
asus->inputdev->phys = asus->driver->input_name; asus->inputdev->phys = asus->driver->input_phys;
asus->inputdev->id.bustype = BUS_HOST; asus->inputdev->id.bustype = BUS_HOST;
asus->inputdev->dev.parent = &asus->platform_device->dev; asus->inputdev->dev.parent = &asus->platform_device->dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment