]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/input/keyboard/sh_keysc.c
Input: remove use of __devinit
[mirror_ubuntu-bionic-kernel.git] / drivers / input / keyboard / sh_keysc.c
index da54ad5db154bf8065549779dfba335ef9088d66..ffa9adb23f215356381ae7e896d9b6fafb159a2c 100644 (file)
@@ -162,7 +162,7 @@ static irqreturn_t sh_keysc_isr(int irq, void *dev_id)
        return IRQ_HANDLED;
 }
 
-static int __devinit sh_keysc_probe(struct platform_device *pdev)
+static int sh_keysc_probe(struct platform_device *pdev)
 {
        struct sh_keysc_priv *priv;
        struct sh_keysc_info *pdata;
@@ -331,7 +331,7 @@ static SIMPLE_DEV_PM_OPS(sh_keysc_dev_pm_ops,
 
 static struct platform_driver sh_keysc_device_driver = {
        .probe          = sh_keysc_probe,
-       .remove         = __devexit_p(sh_keysc_remove),
+       .remove         = sh_keysc_remove,
        .driver         = {
                .name   = "sh_keysc",
                .pm     = &sh_keysc_dev_pm_ops,