]> 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)
commitecdc815d57c262ed5832c9bc3dc0a764caee8847
treec012f7e15e2a1b03aadf62b69d6ea546faf51851
parentf1b7f586173846fc8a9f71347a854bf2843eef1d
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