projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d547116
)
rtc: s3c: remove unnecessary NULL assignment
30/46030/2
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Tue, 11 Aug 2015 10:29:11 +0000
(19:29 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 17 Aug 2015 07:19:44 +0000
(
00:19
-0700)
It's unnecessary the code that assigns info->rtc_clk to NULL in
s3c_rtc_remove.
Change-Id: I6a735e4fc010a208068305ee8ccd9c5f0cdaa6ad
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/rtc/rtc-s3c.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-s3c.c
b/drivers/rtc/rtc-s3c.c
index d67a23b6f5939024ed3f34c576707c43f7b5890e..dd567d1ae0e1ea24acef782910f339b5f411f298 100644
(file)
--- a/
drivers/rtc/rtc-s3c.c
+++ b/
drivers/rtc/rtc-s3c.c
@@
-413,7
+413,6
@@
static int s3c_rtc_remove(struct platform_device *pdev)
if (info->data->needs_src_clk)
clk_unprepare(info->rtc_src_clk);
clk_unprepare(info->rtc_clk);
- info->rtc_clk = NULL;
return 0;
}