]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
rtc: fix module reference count in rtc-proc
authorGeliang Tang <geliangtang@163.com>
Sat, 7 Nov 2015 04:00:21 +0000 (12:00 +0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jan 2016 19:19:55 +0000 (20:19 +0100)
commitb01079be449b895913ce17a47933820af708d5dd
treee8e8b3a391e81469d64e813a3fc11ee5e3f6f39c
parentfbbf53f70225c82ba877de780486be5bc81b29e2
rtc: fix module reference count in rtc-proc

rtc-proc.c is not built as a module. Thus, rather than dealing with
THIS_MODULE's reference count, we should deal with rtc->owner's
reference count.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-proc.c