From: Corentin Chary Date: Wed, 30 Mar 2011 14:32:32 +0000 (+0200) Subject: asus-wmi: swap input name and phys X-Git-Tag: v2.6.39-rc4~55^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58a9f397ac9288403d600b22b8472c0d164ee8cb;p=platform%2Fkernel%2Flinux-3.10.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 efc776c..832a3fd7 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;