Re: [PATCH 1/2] rtc: goldfish: Use correct return value for goldfish_rtc_probe()

From: Alexandre Belloni
Date: Fri May 29 2020 - 21:32:51 EST


On Mon, 25 May 2020 09:39:47 +0800, Tiezhu Yang wrote:
> When call function devm_platform_ioremap_resource(), we should use IS_ERR()
> to check the return value and return PTR_ERR() if failed.

Applied, thanks!

[1/2] rtc: goldfish: Use correct return value for goldfish_rtc_probe()
commit: e712bb5c45313b3ab35ece2fb0a44cdc49548bd9
[2/2] rtc: mpc5121: Use correct return value for mpc5121_rtc_probe()
commit: 4c2a13a2d686a7412d862802156eebd0e15df7ad

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>