[PATCH v2 0/2] gpiolib: more cleanups to get rid of of_node

From: Andy Shevchenko
Date: Wed Oct 05 2022 - 11:29:47 EST


One more user outside of GPIO library and pin control folders needs
to be updated to use fwnode instead of of_node. To make this easier
introduce a helper in property.h and convert the user.

Note, the helper will be useful not only for the current users,
but any future ones that want to replace of_device_is_compatible()
with analogous fwnode API.

Changelog v2:
- placed new helper correctly in the property.h

Andy Shevchenko (2):
device property: Introduce fwnode_device_is_compatible() helper
soc: fsl: qe: Switch to use fwnode instead of of_node

drivers/soc/fsl/qe/gpio.c | 4 +++-
include/linux/property.h | 10 +++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)

--
2.35.1