[PATCH v6.8 2/2] nvmem: drop nvmem_layout_get_match_data()
Michael Walle
michael at walle.cc
Tue Dec 19 04:21:40 PST 2023
> From: Rafał Miłecki <rafal at milecki.pl>
>
> Thanks for layouts refactoring we now have "struct device" associated
> with layout. Also its OF pointer points directly to the "nvmem-layout"
> DT node.
>
> All it takes to get match data is a generic of_device_get_match_data().
Isn't device_get_match_data() preferred?
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
Reviewed-by: Michael Walle <michael at walle.cc>
-michael
More information about the linux-mtd
mailing list