]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/input/keyboard/lm8323.c
Input: remove use of __devinit
[mirror_ubuntu-bionic-kernel.git] / drivers / input / keyboard / lm8323.c
index 39ac2787e275f3b7c7f8024554fa986d68b7ae52..ee0116b0a427925d6f2061fad17e54830023a58d 100644 (file)
@@ -624,7 +624,7 @@ static ssize_t lm8323_set_disable(struct device *dev,
 }
 static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable);
 
-static int __devinit lm8323_probe(struct i2c_client *client,
+static int lm8323_probe(struct i2c_client *client,
                                  const struct i2c_device_id *id)
 {
        struct lm8323_platform_data *pdata = client->dev.platform_data;
@@ -846,7 +846,7 @@ static struct i2c_driver lm8323_i2c_driver = {
                .pm     = &lm8323_pm_ops,
        },
        .probe          = lm8323_probe,
-       .remove         = __devexit_p(lm8323_remove),
+       .remove         = lm8323_remove,
        .id_table       = lm8323_id,
 };
 MODULE_DEVICE_TABLE(i2c, lm8323_id);