Change-Id: Ia63bc75ab4595bcf969402c8ea737cb8289b8292
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
for_each_available_child_of_node(np, child) {
struct thermal_zone_device *zone;
struct thermal_zone_params *tzp;
+ const char *governor_name;
int i, mask = 0;
u32 prop;
tzp->slope = tz->slope;
tzp->offset = tz->offset;
+ if (!of_property_read_string(child, "governor", &governor_name))
+ strncpy(tzp->governor_name, governor_name, THERMAL_NAME_LENGTH);
+
zone = thermal_zone_device_register(child->name, tz->ntrips,
mask, tz,
ops, tzp,