device property: Retrieve fwnode from of_node via accessor
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Mon, 10 May 2021 09:56:12 +0000 (12:56 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 May 2021 14:56:49 +0000 (16:56 +0200)
commit3cd8015040d7537a6b88e26f36768a90d9247829
treeb00fbdd2e1df8e3d32df37bee2acc9135e9b0c7c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
device property: Retrieve fwnode from of_node via accessor

OF provides a specific accessor to retrieve fwnode handle.
Use it instead of direct dereferencing.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c