Home
last modified time | relevance | path

Searched refs:rail_names (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/greybus/
Dsvc.c766 struct gb_svc_pwrmon_rail_names_get_response *rail_names; in gb_svc_pwrmon_debugfs_init() local
779 bufsize = sizeof(*rail_names) + in gb_svc_pwrmon_debugfs_init()
782 rail_names = kzalloc(bufsize, GFP_KERNEL); in gb_svc_pwrmon_debugfs_init()
783 if (!rail_names) in gb_svc_pwrmon_debugfs_init()
791 if (gb_svc_pwrmon_rail_names_get(svc, rail_names, bufsize)) in gb_svc_pwrmon_debugfs_init()
800 (char *)&rail_names->name[i]); in gb_svc_pwrmon_debugfs_init()
814 kfree(rail_names); in gb_svc_pwrmon_debugfs_init()
818 kfree(rail_names); in gb_svc_pwrmon_debugfs_init()