]> git.baikalelectronics.ru Git - kernel.git/commit
of: unittest: make unittest_gpio_remove() consistent with unittest_gpio_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Jul 2022 21:45:39 +0000 (00:45 +0300)
committerRob Herring <robh@kernel.org>
Mon, 11 Jul 2022 23:08:23 +0000 (17:08 -0600)
commit40558209b517c49c2b8d7a6e9ca494181b25da68
tree3b2b882918aa5d94d7d5d13820427c218126ea8b
parent38b37595d7df2671b584e1e146b0876c6c1844db
of: unittest: make unittest_gpio_remove() consistent with unittest_gpio_probe()

On the ->remove() stage the callback uses physical device node instead of one
from GPIO chip and the variable name which is different to one used in
unittest_gpio_probe(). Make these consistent with unittest_gpio_probe().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220708214539.7254-2-andriy.shevchenko@linux.intel.com
drivers/of/unittest.c