of: unittest: Switch to use fwnode instead of of_node
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Jul 2022 21:45:38 +0000 (00:45 +0300)
committerRob Herring <robh@kernel.org>
Mon, 11 Jul 2022 23:08:15 +0000 (17:08 -0600)
commit652081b3c64e03ae3229dd33923d295f9f3115db
treed8c580c797f98788ecf2bfd5233f8eda25f964ea
parent912cbf13a5445ca4a89d35b638795058dab61cce
of: unittest: Switch to use fwnode instead of of_node

The OF node in the GPIO library is deprecated and soon will be removed.
GPIO library now accepts fwnode as a firmware node, so switch the module
to use it instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220708214539.7254-1-andriy.shevchenko@linux.intel.com
drivers/of/unittest.c