projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Input: remove use of __devexit
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
input
/
touchscreen
/
da9034-ts.c
diff --git
a/drivers/input/touchscreen/da9034-ts.c
b/drivers/input/touchscreen/da9034-ts.c
index 36b65cf10d7f83b25a34b2148986c3a27b7c4bfc..34ad84105e6ee1a18718fe06b23ca379a6a0346f 100644
(file)
--- a/
drivers/input/touchscreen/da9034-ts.c
+++ b/
drivers/input/touchscreen/da9034-ts.c
@@
-297,7
+297,7
@@
static void da9034_touch_close(struct input_dev *dev)
}
}
-static int
__devinit
da9034_touch_probe(struct platform_device *pdev)
+static int da9034_touch_probe(struct platform_device *pdev)
{
struct da9034_touch_pdata *pdata = pdev->dev.platform_data;
struct da9034_touch *touch;
{
struct da9034_touch_pdata *pdata = pdev->dev.platform_data;
struct da9034_touch *touch;
@@
-361,7
+361,7
@@
err_free_touch:
return ret;
}
return ret;
}
-static int
__devexit
da9034_touch_remove(struct platform_device *pdev)
+static int da9034_touch_remove(struct platform_device *pdev)
{
struct da9034_touch *touch = platform_get_drvdata(pdev);
{
struct da9034_touch *touch = platform_get_drvdata(pdev);
@@
-377,7
+377,7
@@
static struct platform_driver da9034_touch_driver = {
.owner = THIS_MODULE,
},
.probe = da9034_touch_probe,
.owner = THIS_MODULE,
},
.probe = da9034_touch_probe,
- .remove =
__devexit_p(da9034_touch_remove)
,
+ .remove =
da9034_touch_remove
,
};
module_platform_driver(da9034_touch_driver);
};
module_platform_driver(da9034_touch_driver);