]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rtl8192u: simplify procfs code
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 16:16:54 +0000 (18:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit0781a6b2104b54f62dae7ea966e1c4803c9c84b6
treec012f7e15e2a1b03aadf62b69d6ea546faf51851
parent7c2aeabb74df84dbfa3c4e673538e0b46dde6ecb
staging/rtl8192u: simplify procfs code

Unwind the registration loop into individual calls.  Switch to use
proc_create_single 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 <hch@lst.de>
drivers/staging/rtl8192u/r8192U_core.c