aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/flash.c')
-rw-r--r--drivers/sbus/char/flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c
index 327657e2e264..d9f268f23774 100644
--- a/drivers/sbus/char/flash.c
+++ b/drivers/sbus/char/flash.c
@@ -159,7 +159,7 @@ static const struct file_operations flash_fops = {
159 159
160static struct miscdevice flash_dev = { FLASH_MINOR, "flash", &flash_fops }; 160static struct miscdevice flash_dev = { FLASH_MINOR, "flash", &flash_fops };
161 161
162static int __devinit flash_probe(struct platform_device *op) 162static int flash_probe(struct platform_device *op)
163{ 163{
164 struct device_node *dp = op->dev.of_node; 164 struct device_node *dp = op->dev.of_node;
165 struct device_node *parent; 165 struct device_node *parent;
@@ -190,7 +190,7 @@ static int __devinit flash_probe(struct platform_device *op)
190 return misc_register(&flash_dev); 190 return misc_register(&flash_dev);
191} 191}
192 192
193static int __devexit flash_remove(struct platform_device *op) 193static int flash_remove(struct platform_device *op)
194{ 194{
195 misc_deregister(&flash_dev); 195 misc_deregister(&flash_dev);
196 196
@@ -212,7 +212,7 @@ static struct platform_driver flash_driver = {
212 .of_match_table = flash_match, 212 .of_match_table = flash_match,
213 }, 213 },
214 .probe = flash_probe, 214 .probe = flash_probe,
215 .remove = __devexit_p(flash_remove), 215 .remove = flash_remove,
216}; 216};
217 217
218module_platform_driver(flash_driver); 218module_platform_driver(flash_driver);