.read = pwr_debugfs_power_read,
};
-static void svc_pwrmon_debugfs_init(struct gb_svc *svc)
+static void gb_svc_pwrmon_debugfs_init(struct gb_svc *svc)
{
int i;
size_t bufsize;
debugfs_remove(dent);
}
-static void svc_debugfs_init(struct gb_svc *svc)
+static void gb_svc_debugfs_init(struct gb_svc *svc)
{
svc->debugfs_dentry = debugfs_create_dir(dev_name(&svc->dev),
gb_debugfs_get());
- svc_pwrmon_debugfs_init(svc);
+ gb_svc_pwrmon_debugfs_init(svc);
}
-static void svc_debugfs_exit(struct gb_svc *svc)
+static void gb_svc_debugfs_exit(struct gb_svc *svc)
{
debugfs_remove_recursive(svc->debugfs_dentry);
kfree(svc->rail_names);
return ret;
}
- svc_debugfs_init(svc);
+ gb_svc_debugfs_init(svc);
return 0;
}
* from the request handler.
*/
if (device_is_registered(&svc->dev)) {
- svc_debugfs_exit(svc);
+ gb_svc_debugfs_exit(svc);
gb_svc_watchdog_destroy(svc);
input_unregister_device(svc->input);
device_del(&svc->dev);