keys: fix keys dev name not matching
authorwdc <wdc@rock-chips.com>
Tue, 1 Apr 2014 08:32:41 +0000 (16:32 +0800)
committerwdc <wdc@rock-chips.com>
Tue, 1 Apr 2014 08:34:16 +0000 (16:34 +0800)
drivers/input/keyboard/rk_keys.c

index 8dc4d84e151154cb53ac18b4ed1e8a101a7a895c..066777e6f5ef9d0a90dd6621ad17115ff4d861da 100755 (executable)
@@ -320,7 +320,7 @@ static int  keys_probe(struct platform_device *pdev)
        }
        platform_set_drvdata(pdev, ddata);
 
-       input->name = pdev->name;
+       input->name = "rk29-keypad";//pdev->name;
        input->phys = "gpio-keys/input0";
        input->dev.parent = dev;