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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c
index bceb30b539f3..041a592fe753 100644
--- a/drivers/platform/x86/compal-laptop.c
+++ b/drivers/platform/x86/compal-laptop.c
@@ -1036,7 +1036,7 @@ static int compal_probe(struct platform_device *pdev)
1036 1036
1037 /* Power supply */ 1037 /* Power supply */
1038 initialize_power_supply_data(data); 1038 initialize_power_supply_data(data);
1039 err = power_supply_register(&compal_device->dev, &data->psy); 1039 err = power_supply_register(&compal_device->dev, &data->psy, NULL);
1040 if (err < 0) 1040 if (err < 0)
1041 goto remove; 1041 goto remove;
1042 1042