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)
commit9465a98458fe2a05015bc90d7587fb891cd0c0cc
tree3b2b882918aa5d94d7d5d13820427c218126ea8b
parent652081b3c64e03ae3229dd33923d295f9f3115db
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