]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Unify access to of_node
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 Jun 2021 16:50:47 +0000 (19:50 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 12:43:41 +0000 (14:43 +0200)
commit50167ee927ed6b3cd6a2a90c586e5d7757aa4d72
treeb4f647c8313fdb004ebe8b9f6932a6c0dce4db0e
parent96099b9820c670179edf26c1d033d6250fb69032
device property: Unify access to of_node

Historically we have a few variants how we access dev->fwnode
and dev->of_node. Some of the functions during development
gained different versions of the getters. Unify access to of_node
and as a side change slightly refactor ACPI specific branches.

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