]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: mchp48l640: Use str_enable_disable() in mchp48l640_write_prepare()
authorZhang Heng <zhangheng@kylinos.cn>
Thu, 13 Mar 2025 09:57:56 +0000 (17:57 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 18 Mar 2025 16:18:51 +0000 (17:18 +0100)
commit3081f26059a88ce9f39a2fe1c1bfee853200bd79
tree205d3f6fcfb8e85524d5cd004bba4a9d26ccf1df
parent9fe1617df3c8f522755996383b9a3abf8ce81662
mtd: mchp48l640: Use str_enable_disable() in mchp48l640_write_prepare()

Remove hard-coded strings by using the str_enable_disable() helper
function.

Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/devices/mchp48l640.c