]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8b5480f93f08b07770dc02776c191842eaa7f77
tree639de7739cec00963e78323674a1cf30eb2699e6
parentec9e5a7a68c4554078cb8c96dc86dc79186692b3
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