[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20221018095659.543383-1-miquel.raynal@bootlin.com>
Date: Tue, 18 Oct 2022 11:56:59 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Rafał Miłecki <zajec5@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: ansuelsmth@...il.com, linux-mtd@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH V2 1/2] mtd: core: simplify (a bit) code find partition-matching dynamic OF node
On Tue, 2022-10-04 at 08:37:09 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote:
> From: Rafał Miłecki <rafal@...ecki.pl>
>
> 1. Don't hardcode "partition-" string twice
> 2. Use simpler logic & use ->name to avoid of_property_read_string()
> 3. Use mtd_get_of_node() helper
>
> Cc: Christian Marangi <ansuelsmth@...il.com>
> Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists