Commit 880a36fd authored by Alessandro Rubini's avatar Alessandro Rubini

svec-drv.c: remove needless devinit/devexit, missing from 3.8 and later

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 5ceff51f
...@@ -294,7 +294,7 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size) ...@@ -294,7 +294,7 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size)
return 0; return 0;
} }
static int __devexit svec_remove(struct device *pdev, unsigned int ndev) static int svec_remove(struct device *pdev, unsigned int ndev)
{ {
struct svec_dev *svec = dev_get_drvdata(pdev); struct svec_dev *svec = dev_get_drvdata(pdev);
...@@ -370,7 +370,7 @@ int svec_is_present(struct svec_dev *svec) ...@@ -370,7 +370,7 @@ int svec_is_present(struct svec_dev *svec)
} }
static int __devinit svec_probe(struct device *pdev, unsigned int ndev) static int svec_probe(struct device *pdev, unsigned int ndev)
{ {
struct svec_dev *svec; struct svec_dev *svec;
const char *name; const char *name;
...@@ -471,7 +471,7 @@ failed: ...@@ -471,7 +471,7 @@ failed:
static struct vme_driver svec_driver = { static struct vme_driver svec_driver = {
.probe = svec_probe, .probe = svec_probe,
.remove = __devexit_p(svec_remove), .remove = svec_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment