Re: [PATCHv2 0/3] thermal: lookup temperature

From: Eduardo Valentin
Date: Mon Apr 22 2013 - 09:11:31 EST


Hello Pavel,

On 22-04-2013 07:06, Pavel Machek wrote:
Hi!

Here is V2 of temperature lookup helper function. This has been
split into two API as suggested on V1.

The usage of it is exemplified on patch 03.


Eduardo Valentin (3):
thermal: introduce thermal_zone_get_zone_by_name helper function

Is the function name maybe a bit long? Perhaps using tz_ prefix
instead of "thermal_zone_" would help? or thermal_get_by_name? tz_get_by_name?

Pavel

This patch follows the naming convention on this file. If we are going to use different prefixes, then I suggest sending a patch that changes the functions that are exported by this file. Besides the names you suggested do not reflect exactly the purpose of the introduced API.

Thanks for your suggestion.

All best,

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/