While an empty led_sysfs definition works as intended (no LED state is touched), an error message is generated, since the appropriate sysfs interface does not exist: Sat Feb 27 16:42:55 2016 user.err wifitoggle: led: not found This patch makes sure that no such error message will be generated. Signed-off-by: Karol Babioch <karol@babioch.de>
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 | 5 |
|
5 | 6 |
|
6 | 7 |
|
|
||
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
13 |
|
|
14 |
|
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
8 | 10 |
|
9 | 11 |
|
10 | 12 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
5 | 7 |
|
6 | 8 |
|
7 | 9 |
|