Re: [PATCH 1/2] rtc: fix module reference count in rtc-proc

2015-11-30 Thread Alexandre Belloni
On 07/11/2015 at 12:00:21 +0800, Geliang Tang wrote : > 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 > --- > drivers/rtc/rtc-proc.c | 8 +--- > 1 file

Re: [PATCH 1/2] rtc: fix module reference count in rtc-proc

2015-11-30 Thread Alexandre Belloni
On 07/11/2015 at 12:00:21 +0800, Geliang Tang wrote : > 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 > --- > drivers/rtc/rtc-proc.c |

[PATCH 1/2] rtc: fix module reference count in rtc-proc

2015-11-06 Thread Geliang Tang
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 --- drivers/rtc/rtc-proc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH 1/2] rtc: fix module reference count in rtc-proc

2015-11-06 Thread Geliang Tang
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 --- drivers/rtc/rtc-proc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff