projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0034102
)
drivers/base: Remove unneeded spin_lock_init call for soc_lock
author
Axel Lin
<axel.lin@gmail.com>
Tue, 20 Mar 2012 08:32:39 +0000
(16:32 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 21:54:22 +0000
(14:54 -0700)
soc_lock is already initialized by DEFINE_SPINLOCK.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/soc.c
patch
|
blob
|
history
diff --git
a/drivers/base/soc.c
b/drivers/base/soc.c
index
05f1503
..
f49346b
100644
(file)
--- a/
drivers/base/soc.c
+++ b/
drivers/base/soc.c
@@
-168,8
+168,6
@@
void soc_device_unregister(struct soc_device *soc_dev)
static int __init soc_bus_register(void)
{
- spin_lock_init(&soc_lock);
-
return bus_register(&soc_bus_type);
}
core_initcall(soc_bus_register);