[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87frn2v253.fsf@bootlin.com>
Date: Thu, 05 Dec 2024 11:46:00 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Joern Engel <joern@...ybastard.org>, Richard Weinberger
<richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] mtd: phram: only call platform_driver_unregister
if phram_setup fails
Hi,
On 30/10/2024 at 17:21:49 GMT, Colin Ian King <colin.i.king@...il.com> wrote:
> The check on ret and call to platform_driver_unregister is only required
> in the code path where MODULE is not defined. Fix this by moving this
> code into the relevant place after the call to phram_setup.
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Applied to mtd/next.
Thanks,
Miquèl
Powered by blists - more mailing lists