summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2021-08-07 22:45:38 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-08-17 18:42:58 +0200
commitfa451399d65a06747379ab1e246faf0b28e1c05f (patch)
tree8568584dbc3dc53fe52e9442a3a89880e1cf9523 /drivers/mtd/maps
parentd056f8cd2fc29fbfb45f936cc1ac36ff67d7db93 (diff)
mtd: rfd_ftl: use container_of() rather than cast
The container_of() is much more readable and also safer. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210807214538.14484-6-sean@mess.org
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions