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)
commitdba5e4288d36630b961af89e9dde6eef750fe79d
treec012f7e15e2a1b03aadf62b69d6ea546faf51851
parent07a3b8ed48557fb9796943dac6333f527a6f5048
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