[Linux-stm32] [PATCH -next v2] rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register()
Wolfram Sang
wsa at kernel.org
Thu Sep 15 06:31:15 UTC 2022
On Thu, Sep 15, 2022 at 09:33:04AM +0800, Lin Yujun wrote:
> Use platform_device_put() to free platform device before print
> error message when platform_device_add() fails to run. Add dev_err()
> to report error in case of alloc memory to wdt_pdev fail.
The second part of the commit message is now obsolete.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20220915/113d032e/attachment.sig>
More information about the Linux-stm32
mailing list