summaryrefslogtreecommitdiff
path: root/drivers/mtd/parsers
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-08-16 16:59:10 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-09-19 19:14:53 +0300
commitbf3e6b8f837afdf01d31cdc86028660f3f342bbe (patch)
tree75ea9f4da9d0d96ba18a2e9075f3e357ed0c1299 /drivers/mtd/parsers
parent8d704c4e1ead92b6185d6aedeb08ac6a85c4a42a (diff)
downloadlinux-bf3e6b8f837afdf01d31cdc86028660f3f342bbe.tar.xz
mtd: ftl: use container_of() rather than cast
The container_of() is much more readable and also safer. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220816135910.268016-1-cuigaosheng1@huawei.com
Diffstat (limited to 'drivers/mtd/parsers')
0 files changed, 0 insertions, 0 deletions