Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33cb4f34 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

drivers/base: Remove unneeded spin_lock_init call for soc_lock



soc_lock is already initialized by DEFINE_SPINLOCK.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 00341028
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);