Thread (34 messages) 34 messages, 2 authors, 2012-08-27

RE: [PATCHv2 05/14] Thermal: Obtain platform data for thermal zone

From: R, Durgadoss <hidden>
Date: 2012-08-27 08:59:31

Hi Rui,
quoted
 /**
  * thermal_zone_device_register - register a new thermal zone device
  * @type:	the thermal zone device type
@@ -1443,6 +1459,11 @@ struct thermal_zone_device
*thermal_zone_device_register(const char *type,
 	if (result)
 		goto unregister;

+	/* Retrieve platform level parameters for this zone */
+	result = retrieve_zone_params(tz);
+	if (result)
+		goto unregister;
+
As I said, if we need it, we should ask user to provide it during registration.
What do you think?
That's Fine, we can provide it through tzd_register function call.

Thanks,
Durga
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help