diff options
| author | Christoph Hellwig <[email protected]> | 2018-04-15 08:53:36 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-05-16 05:24:30 +0000 |
| commit | ce9fe43875d758c89f222d6b704bf63758f57635 (patch) | |
| tree | d7275cba06b5e665fbc5b76a571abf2c4b39f8e2 /fs/proc/array.c | |
| parent | bluetooth: switch to proc_create_seq_data (diff) | |
| download | kernel-ce9fe43875d758c89f222d6b704bf63758f57635.tar.gz kernel-ce9fe43875d758c89f222d6b704bf63758f57635.zip | |
atm: simplify procfs code
Use remove_proc_subtree to remove the whole subtree on cleanup, and
unwind the registration loop into individual calls. Switch to use
proc_create_seq where applicable.
Also don't bother handling proc_create* failures - the driver works
perfectly fine without the proc files, and the cleanup will handle
missing files gracefully.
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
