mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Delete all remnants of algorithm names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4465 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
f00aef9271
commit
24f6b62c3f
11 files changed
+13
-58
No files matched your search
@@ -120,7 +120,6 @@ static sensors_chip *current_chip = NULL;
|
||||
%type <expr> expression
|
||||
%type <bus> i2cbus_name
|
||||
%type <name> adapter_name
|
||||
%type <name> algorithm_name
|
||||
%type <name> function_name
|
||||
%type <name> string
|
||||
%type <chip> chip_name
|
||||
@@ -134,7 +133,6 @@ input: /* empty */
|
||||
;
|
||||
|
||||
line: bus_statement EOL
|
||||
| busalgo_statement EOL
|
||||
| label_statement EOL
|
||||
| set_statement EOL
|
||||
| chip_statement EOL
|
||||
@@ -152,17 +150,6 @@ bus_statement: BUS i2cbus_name adapter_name
|
||||
}
|
||||
;
|
||||
|
||||
/* for compatibility, deprecated */
|
||||
busalgo_statement: BUS i2cbus_name adapter_name algorithm_name
|
||||
{ sensors_bus new_el;
|
||||
new_el.lineno = $1;
|
||||
new_el.number = $2;
|
||||
new_el.adapter = $3;
|
||||
free($4);
|
||||
bus_add_el(&new_el);
|
||||
}
|
||||
;
|
||||
|
||||
label_statement: LABEL function_name string
|
||||
{ sensors_label new_el;
|
||||
check_current_chip();
|
||||
@@ -315,11 +302,6 @@ adapter_name: NAME
|
||||
$$ = $1; }
|
||||
;
|
||||
|
||||
algorithm_name: NAME
|
||||
{ sensors_strip_of_spaces($1);
|
||||
$$ = $1; }
|
||||
;
|
||||
|
||||
function_name: NAME
|
||||
{ $$ = $1; }
|
||||
;
|
||||
|
||||
Reference in new issue
Block a user