Repository navigation
Commit f6aa016
staging: dgap: Simplify to set a concentrator type
It is same manner with setting a board type.
For example of config file for concentrator,
"conc ccon" or
"conc epcon"
After allocating a type of "CNODE" then set a type of concentrator.
So remove cases in swith statement, just get a token from string
and set to "conc.type". And also it doesn't need to "conc.v_type".
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 77a4492 commit f6aa016
2 files changed
Lines changed: 7 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6387 | 6387 | | |
6388 | 6388 | | |
6389 | 6389 | | |
| 6390 | + | |
6390 | 6391 | | |
6391 | 6392 | | |
6392 | 6393 | | |
| |||
6719 | 6720 | | |
6720 | 6721 | | |
6721 | 6722 | | |
6722 | | - | |
6723 | | - | |
6724 | | - | |
6725 | | - | |
6726 | | - | |
| 6723 | + | |
| 6724 | + | |
| 6725 | + | |
| 6726 | + | |
6727 | 6727 | | |
6728 | 6728 | | |
6729 | | - | |
6730 | | - | |
6731 | | - | |
6732 | 6729 | | |
6733 | | - | |
6734 | | - | |
6735 | | - | |
6736 | | - | |
6737 | | - | |
6738 | | - | |
6739 | | - | |
| 6730 | + | |
| 6731 | + | |
6740 | 6732 | | |
6741 | 6733 | | |
6742 | 6734 | | |
| |||
7200 | 7192 | | |
7201 | 7193 | | |
7202 | 7194 | | |
7203 | | - | |
7204 | | - | |
7205 | | - | |
7206 | | - | |
7207 | 7195 | | |
7208 | 7196 | | |
7209 | 7197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
1210 | 1209 | | |
1211 | 1210 | | |
1212 | 1211 | | |
| |||
0 commit comments