[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YyLQ4k54vK+3239d@shikoro>
Date: Thu, 15 Sep 2022 08:14:42 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Lin Yujun <linyujun809@...wei.com>
Cc: a.zummo@...ertech.it, alexandre.belloni@...tlin.com,
mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com,
akpm@...ux-foundation.org, wim@...ana.be,
linux-rtc@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v3] rtc: stmp3xxx: Add failure handling for
stmp3xxx_wdt_register()
On Thu, Sep 15, 2022 at 02:52:53PM +0800, Lin Yujun wrote:
> Use platform_device_put() to free platform device before print
> error message when platform_device_add() fails to run.
>
> Fixes: 1a71fb84fda6 ("rtc: stmp3xxx: add wdt-accessor function")
> Signed-off-by: Lin Yujun <linyujun809@...wei.com>
Reviewed-by: Wolfram Sang <wsa@...nel.org>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists