OSDN Git Service

rtc: sun6i: Remove double init of spinlock in sun6i_rtc_clk_init()
authorAlexey Klimov <alexey.klimov@arm.com>
Wed, 12 Jul 2017 10:59:48 +0000 (11:59 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 30 Jul 2017 22:17:46 +0000 (00:17 +0200)
commit319ff835d6136842c660011047a480119bd7cba8
tree3bfbd123b9881a1f71b6f823bf0e9332ce43db4b
parent11909f0be799585f606a70b7e0a9541736848a2e
rtc: sun6i: Remove double init of spinlock in sun6i_rtc_clk_init()

Remove double init of spinlock in sun6i_rtc_clk_init()

Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator")
Signed-off-by: Alexey Klimov <alexey.klimov@arm.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-sun6i.c