commit | fa451399d65a06747379ab1e246faf0b28e1c05f | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Sat Aug 07 22:45:38 2021 +0100 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Aug 17 18:42:58 2021 +0200 |
tree | 8568584dbc3dc53fe52e9442a3a89880e1cf9523 | |
parent | d056f8cd2fc29fbfb45f936cc1ac36ff67d7db93 [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