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().
Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>Reviewed-by: Michael Walle <michael@xxxxxxxx>