]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19e7f2fd9530ea2a3582abd748308f4fafbf7623
treed8c580c797f98788ecf2bfd5233f8eda25f964ea
parent74adf885c84e525cca21b4f1f2b22e892076fd7a
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