]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: rawnand: qcom: finish converting register to FIELD_PREP
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 9 Feb 2025 14:54:32 +0000 (15:54 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 11 Feb 2025 12:55:15 +0000 (13:55 +0100)
commit1db50b96b059ca8e5548cb3e0e38a888b325f96b
tree5d4a3998441a4da5216dc3dd60dc0fb03a21b24a
parenta3b219e476d3c726e23084cd79649fe978484b28
mtd: rawnand: qcom: finish converting register to FIELD_PREP

With some research in some obscure old QSDK, it was possible to find the
MASK of the last register there were still set with raw shift and
convert them to FIELD_PREP API.

This is only a cleanup and modernize the code a bit and doesn't make
any behaviour change.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/qcom_nandc.c
include/linux/mtd/nand-qpic-common.h