OSDN Git Service

rtc/proc: switch to proc_create_single_data
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 16:22:20 +0000 (18:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit59cacb8dd594428a3be0e57aa099247be818aad6
tree639de7739cec00963e78323674a1cf30eb2699e6
parent004fd11db1d6186ef04c6af688c572deb3b12369
rtc/proc: switch to proc_create_single_data

And stop trying to get a reference on the submodule, procfs code deals
with release after an unloaded module and thus removed proc entry.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-proc.c