aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/compal-laptop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/compal-laptop.c')
-rw-r--r--drivers/platform/x86/compal-laptop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c
index 1887e2f166a..475cc524251 100644
--- a/drivers/platform/x86/compal-laptop.c
+++ b/drivers/platform/x86/compal-laptop.c
@@ -713,15 +713,15 @@ static struct attribute_group compal_attribute_group = {
713 .attrs = compal_attributes 713 .attrs = compal_attributes
714}; 714};
715 715
716static int __devinit compal_probe(struct platform_device *); 716static int compal_probe(struct platform_device *);
717static int __devexit compal_remove(struct platform_device *); 717static int compal_remove(struct platform_device *);
718static struct platform_driver compal_driver = { 718static struct platform_driver compal_driver = {
719 .driver = { 719 .driver = {
720 .name = DRIVER_NAME, 720 .name = DRIVER_NAME,
721 .owner = THIS_MODULE, 721 .owner = THIS_MODULE,
722 }, 722 },
723 .probe = compal_probe, 723 .probe = compal_probe,
724 .remove = __devexit_p(compal_remove) 724 .remove = compal_remove,
725}; 725};
726 726
727static enum power_supply_property compal_bat_properties[] = { 727static enum power_supply_property compal_bat_properties[] = {
@@ -1015,7 +1015,7 @@ err_backlight:
1015 return ret; 1015 return ret;
1016} 1016}
1017 1017
1018static int __devinit compal_probe(struct platform_device *pdev) 1018static int compal_probe(struct platform_device *pdev)
1019{ 1019{
1020 int err; 1020 int err;
1021 struct compal_data *data; 1021 struct compal_data *data;
@@ -1067,7 +1067,7 @@ static void __exit compal_cleanup(void)
1067 pr_info("Driver unloaded\n"); 1067 pr_info("Driver unloaded\n");
1068} 1068}
1069 1069
1070static int __devexit compal_remove(struct platform_device *pdev) 1070static int compal_remove(struct platform_device *pdev)
1071{ 1071{
1072 struct compal_data *data; 1072 struct compal_data *data;
1073 1073