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

Commit 41a193c7 authored by Alim Akhtar's avatar Alim Akhtar Committed by Alexandre Belloni
Browse files

rtc: s3c: Remove unnecessary call to disable already disabled clock



At the end of s3c_rtc_probe(), s3c_rtc_disable_clk() being called with rtc
clock already disabled (by s3c_rtc_gettime()), which looks extra and
unnecessary call. Lets clean it up.

Signed-off-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarPankaj Dubey <pankaj.dubey@samsung.com>
Tested-by: default avatarPankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent d8cac8d9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -565,8 +565,6 @@ static int s3c_rtc_probe(struct platform_device *pdev)

	s3c_rtc_setfreq(info, 1);

	s3c_rtc_disable_clk(info);

	return 0;

 err_nortc: