Repository navigation
Commit 7449054
committed
ALSA: usb: Clean up with new procfs helpers
Simplify the proc fs creation code with new helper functions,
snd_card_ro_proc_new() and snd_card_rw_proc_new().
Just a code refactoring and no functional changes.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent 3c6ee77 commit 7449054
3 files changed
Lines changed: 10 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3441 | 3441 | | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | | - | |
3445 | 3444 | | |
3446 | 3445 | | |
3447 | 3446 | | |
| |||
3497 | 3496 | | |
3498 | 3497 | | |
3499 | 3498 | | |
3500 | | - | |
3501 | | - | |
3502 | | - | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
3503 | 3502 | | |
3504 | 3503 | | |
3505 | 3504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2195 | 2195 | | |
2196 | 2196 | | |
2197 | 2197 | | |
2198 | | - | |
2199 | 2198 | | |
2200 | 2199 | | |
2201 | 2200 | | |
| |||
2214 | 2213 | | |
2215 | 2214 | | |
2216 | 2215 | | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
| 2216 | + | |
| 2217 | + | |
2220 | 2218 | | |
2221 | 2219 | | |
2222 | 2220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
170 | | - | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
174 | 172 | | |
175 | | - | |
176 | | - | |
| 173 | + | |
177 | 174 | | |
178 | 175 | | |
0 commit comments