]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: asm9260: add the missed check for devm_clk_get
authorChuhong Yuan <hslester96@gmail.com>
Sat, 14 Dec 2019 07:45:28 +0000 (15:45 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Dec 2019 10:16:23 +0000 (11:16 +0100)
commit62cbe63f58e774473214a02579d1745d7a85f0c1
tree3548bf90b8c6c0d6f1173bbee4855ff7170e1432
parentbd0d937928d4696c9480d972cb09ec154bc2f6b0
rtc: asm9260: add the missed check for devm_clk_get

The driver misses a check for devm_clk_get().
Add the check to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191214074528.16806-1-hslester96@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-asm9260.c