]> Git Repo - linux.git/blobdiff - drivers/input/keyboard/samsung-keypad.c
Input: keyboard - drop unnecessary calls to device_init_wakeup
[linux.git] / drivers / input / keyboard / samsung-keypad.c
index 4e319eb9e19d9f75a67d7c2123cc3bf5550c86ad..316414465c779b23d8ec4a03b42d634013dca9a8 100644 (file)
@@ -445,7 +445,6 @@ static int samsung_keypad_probe(struct platform_device *pdev)
 
 err_disable_runtime_pm:
        pm_runtime_disable(&pdev->dev);
-       device_init_wakeup(&pdev->dev, 0);
 err_unprepare_clk:
        clk_unprepare(keypad->clk);
        return error;
@@ -456,7 +455,6 @@ static int samsung_keypad_remove(struct platform_device *pdev)
        struct samsung_keypad *keypad = platform_get_drvdata(pdev);
 
        pm_runtime_disable(&pdev->dev);
-       device_init_wakeup(&pdev->dev, 0);
 
        input_unregister_device(keypad->input_dev);
 
This page took 0.030148 seconds and 4 git commands to generate.