Delete sensors_do_all_sets(). I couldn't find any application using it,

and sensors_do_chip_sets() can be used instead if really needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4648 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-09 08:43:40 +00:00
1 parent 5fb9a1689f
commit 1b51800541
4 files changed
+1 -21

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ SVN HEAD
Fix a memory leak on error
Speed up sensors_get_ignored() a bit
No longer export sensors_chip_name_has_wildcards()
Delete sensors_do_all_sets(), unused
Makefile: Drop the package and version targets
Man page sensors.conf.5: Update the chip statement section
Programs doc/*: Delete, obsolete
-12
View File
@@ -483,18 +483,6 @@ int sensors_do_chip_sets(sensors_chip_name name)
return res;
}
/* Execute all set statements for all detected chips. This is the same as
calling sensors_do_chip_sets with an all wildcards chip name */
int sensors_do_all_sets(void)
{
static const sensors_chip_name name = {
.prefix = SENSORS_CHIP_NAME_PREFIX_ANY,
.bus = SENSORS_CHIP_NAME_BUS_ANY,
.addr = SENSORS_CHIP_NAME_ADDR_ANY,
};
return sensors_do_chip_sets(name);
}
/* Static mappings for use by sensors_feature_get_type() */
struct feature_subtype_match
{
-5
View File
@@ -45,7 +45,6 @@ libsensors \- publicly accessible functions provided by the sensors library
.B int sensors_set_feature(sensors_chip_name name, int feature,
\fBdouble value);\fP
.B int sensors_do_chip_sets(sensors_chip_name name);
.B extern int sensors_do_all_sets(void);
.B const sensors_chip_name *sensors_get_detected_chips(int *nr);
.B const sensors_feature_data *sensors_get_all_features
\fB(sensors_chip_name name, int *nr);\fP
@@ -95,10 +94,6 @@ Set the value of a feature of a certain chip. Note that chip should not contain
.br
Execute all set statements for this particular chip. The chip may contain wildcards! This function will return 0 on success, and <0 on failure.
.B int sensors_do_all_sets(void);
.br
Execute all set statements for all detected chips. This is the same as calling sensors_do_chip_sets with an all wildcards chip name
\fBconst sensors_chip_name *sensors_get_detected_chips
(int *nr);\fP
.br
-4
View File
@@ -94,10 +94,6 @@ extern int sensors_set_feature(sensors_chip_name name, int feature,
wildcards! This function will return 0 on success, and <0 on failure. */
extern int sensors_do_chip_sets(sensors_chip_name name);
/* Execute all set statements for all detected chips. This is the same as
calling sensors_do_chip_sets with an all wildcards chip name */
extern int sensors_do_all_sets(void);
/* This function returns all detected chips, one by one. To start at the
beginning of the list, use 0 for nr; NULL is returned if we are
at the end of the list. Do not try to change these chip names, as