On Thu, Sep 15, 2022 at 09:33:04AM +0800, Lin Yujun wrote:
Use platform_device_put() to free platform device before printThe second part of the commit message is now obsolete.
error message when platform_device_add() fails to run. Add dev_err()
to report error in case of alloc memory to wdt_pdev fail.