Changeset 4648

Show
Ignore:
Timestamp:
08/09/07 10:43:40 (7 years ago)
Author:
khali
Message:

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.

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r4647 r4648  
    1919           Speed up sensors_get_ignored() a bit 
    2020           No longer export sensors_chip_name_has_wildcards() 
     21           Delete sensors_do_all_sets(), unused 
    2122  Makefile: Drop the package and version targets 
    2223  Man page sensors.conf.5: Update the chip statement section 
  • lm-sensors/branches/lm-sensors-3.0.0/lib/access.c

    r4647 r4648  
    484484} 
    485485 
    486 /* Execute all set statements for all detected chips. This is the same as 
    487    calling sensors_do_chip_sets with an all wildcards chip name */ 
    488 int sensors_do_all_sets(void) 
    489 { 
    490         static const sensors_chip_name name = { 
    491                 .prefix = SENSORS_CHIP_NAME_PREFIX_ANY, 
    492                 .bus    = SENSORS_CHIP_NAME_BUS_ANY, 
    493                 .addr   = SENSORS_CHIP_NAME_ADDR_ANY, 
    494         }; 
    495         return sensors_do_chip_sets(name); 
    496 } 
    497  
    498486/* Static mappings for use by sensors_feature_get_type() */ 
    499487struct feature_subtype_match 
  • lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3

    r4647 r4648  
    4646                        \fBdouble value);\fP 
    4747.B int sensors_do_chip_sets(sensors_chip_name name); 
    48 .B extern int sensors_do_all_sets(void); 
    4948.B const sensors_chip_name *sensors_get_detected_chips(int *nr); 
    5049.B const sensors_feature_data *sensors_get_all_features  
     
    9594.br 
    9695Execute all set statements for this particular chip. The chip may contain wildcards!  This function will return 0 on success, and <0 on failure. 
    97  
    98 .B int sensors_do_all_sets(void); 
    99 .br 
    100 Execute all set statements for all detected chips. This is the same as calling sensors_do_chip_sets with an all wildcards chip name 
    10196 
    10297\fBconst sensors_chip_name *sensors_get_detected_chips 
  • lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h

    r4647 r4648  
    9595extern int sensors_do_chip_sets(sensors_chip_name name); 
    9696 
    97 /* Execute all set statements for all detected chips. This is the same as 
    98    calling sensors_do_chip_sets with an all wildcards chip name */ 
    99 extern int sensors_do_all_sets(void); 
    100  
    10197/* This function returns all detected chips, one by one. To start at the 
    10298   beginning of the list, use 0 for nr; NULL is returned if we are