libsensors: rename function sensors_compute_max

The new function name, sensors_compute_max_sf, better reflects what
the function is actually doing.
This commit is contained in:
Jean Delvare
2014-01-28 21:47:41 +00:00
parent 0c0e29f297
commit 18853526ec
+2 -2
View File
@@ -382,7 +382,7 @@ sensors_subfeature_type sensors_subfeature_get_type(const char *name, int *nr)
return SENSORS_SUBFEATURE_UNKNOWN;
}
static int sensors_compute_max(void)
static int sensors_compute_max_sf(void)
{
int i, j, max, offset;
const struct subfeature_type_match *submatches;
@@ -443,7 +443,7 @@ static int sensors_read_dynamic_chip(sensors_chip_features *chip,
/* Dynamically figure out the max number of subfeatures */
if (!max_subfeatures)
max_subfeatures = sensors_compute_max();
max_subfeatures = sensors_compute_max_sf();
/* We use a large sparse table at first to store all found
subfeatures, so that we can store them sorted at type and index