Thread (46 messages) 46 messages, 2 authors, 2020-05-28

Re: [PATCH v6 18/18] mtd: rawnand: Move generic bits to the ECC framework

From: Boris Brezillon <boris.brezillon@collabora.com>
Date: 2020-05-28 15:57:01
Also in: linux-devicetree

On Thu, 28 May 2020 13:31:13 +0200
Miquel Raynal [off-list ref] wrote:
+/**
+ * nanddev_get_flash_node() - Get the device node attached to a NAND device
+ * @nand: NAND device
+ *
+ * Return: the device node linked to @nand.
+ */
+static inline struct device_node *nanddev_get_flash_node(struct nand_device *nand)
+{
+	return mtd_get_of_node(nanddev_to_mtd(nand));
+}
+
Can we name that one nanddev_get_of_node(). We'll probably want to
expose fwnode at some point, and get_flash_node() is a bit too generic
IMO.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help