google_battery: move debugfs init to probe

Move the debugfs init to probe to avoid unexpected error causes
the debugfs nodes create failed.

Bug: 253404056
Change-Id: I9ad633e020656daf580fbea15926bb61a5476dd8
Signed-off-by: Wasb Liu <[email protected]>
diff --git a/google_battery.c b/google_battery.c
index f2eed7f..06e24b4 100644
--- a/google_battery.c
+++ b/google_battery.c
@@ -8616,9 +8616,6 @@
 		pr_info("google,batt-vs-tz-name is %s\n", batt_vs_tz_name);
 	}
 
-	/* debugfs */
-	(void)batt_init_debugfs(batt_drv);
-
 	/* single battery disconnect */
 	(void)batt_bpst_init_debugfs(batt_drv);
 
@@ -8838,6 +8835,9 @@
 	batt_init_fs(batt_drv);
 	batt_bpst_init_fs(batt_drv);
 
+	/* debugfs */
+	(void)batt_init_debugfs(batt_drv);
+
 	/* give time to fg driver to start */
 	schedule_delayed_work(&batt_drv->init_work,
 					msecs_to_jiffies(BATT_DELAY_INIT_MS));