aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2021-11-28 23:24:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-03 16:42:43 +0100
commitc097af1d0a8483b44fa30e86b311991d76b6ae67 (patch)
treeb97424ff061edba2249b15017d256f86ff5fe1d1 /drivers/platform/x86/intel/pmt/class.c
parente1b5186810cc7d4ec60447032636b8e6772dbbc6 (diff)
device property: Check fwnode->secondary when finding properties
fwnode_property_get_reference_args() searches for named properties against a fwnode_handle, but these could instead be against the fwnode's secondary. If the property isn't found against the primary, check the secondary to see if it's there instead. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Daniel Scally <djrscally@gmail.com> Link: https://lore.kernel.org/r/20211128232455.39332-1-djrscally@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions