Skip to content
Commit fa451399 authored by Sean Young's avatar Sean Young Committed by Miquel Raynal
Browse files

mtd: rfd_ftl: use container_of() rather than cast



The container_of() is much more readable and also safer.

Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210807214538.14484-6-sean@mess.org
parent d056f8cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment