From: Corentin Chary Date: Wed, 30 Mar 2011 14:32:32 +0000 (+0200) Subject: asus-wmi: swap input name and phys X-Git-Tag: MMI-PSA29.97-13-9~19969^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58a9f397ac9288403d600b22b8472c0d164ee8cb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git asus-wmi: swap input name and phys Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index efc776cb0c66..832a3fd7c1c8 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -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;