On Thu, 15 Sep 2022 14:52:53 +0800, Lin Yujun wrote: > Use platform_device_put() to free platform device before print > error message when platform_device_add() fails to run. > > Applied, thanks! [1/1] rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register() commit: 0759011157b0d666b02b03b986d3de005d84027e Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com