summaryrefslogtreecommitdiffstats
path: root/drivers/power/da9030_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/da9030_battery.c')
-rw-r--r--drivers/power/da9030_battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c
index 3fd3e95d2b85..94762e67e22b 100644
--- a/drivers/power/da9030_battery.c
+++ b/drivers/power/da9030_battery.c
@@ -187,8 +187,8 @@ static const struct file_operations bat_debug_fops = {
static struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger)
{
- charger->debug_file = debugfs_create_file("charger", 0666, 0, charger,
- &bat_debug_fops);
+ charger->debug_file = debugfs_create_file("charger", 0666, NULL,
+ charger, &bat_debug_fops);
return charger->debug_file;
}