Re: [PATCH v6.8 2/2] nvmem: drop nvmem_layout_get_match_data()

From: Michael Walle
Date: Tue Dec 19 2023 - 07:21:52 EST


From: Rafał Miłecki <rafal@xxxxxxxxxx>

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@xxxxxxxxxx>
Reviewed-by: Michael Walle <michael@xxxxxxxx>

-michael