mirror of https://gitee.com/openkylin/linux.git
asus-wmi: swap input name and phys
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
bda1a730ab
commit
58a9f397ac
|
@ -201,8 +201,8 @@ static int asus_wmi_input_init(struct asus_wmi *asus)
|
|||
if (!asus->inputdev)
|
||||
return -ENOMEM;
|
||||
|
||||
asus->inputdev->name = asus->driver->input_phys;
|
||||
asus->inputdev->phys = asus->driver->input_name;
|
||||
asus->inputdev->name = asus->driver->input_name;
|
||||
asus->inputdev->phys = asus->driver->input_phys;
|
||||
asus->inputdev->id.bustype = BUS_HOST;
|
||||
asus->inputdev->dev.parent = &asus->platform_device->dev;
|
||||
|
||||
|
|
Loading…
Reference in New Issue