mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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
This commit is contained in:
parent
d056f8cd2f
commit
fa451399d6
1 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue