test_printf: Refactor fwnode_pointer() to make it more readable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 24 Aug 2022 17:05:42 +0000 (20:05 +0300)
committerPetr Mladek <pmladek@suse.com>
Tue, 1 Nov 2022 12:41:22 +0000 (13:41 +0100)
commitfd070e8ceb908cdf69cb2369f65831b6f11bdf6c
tree73ba01df52247e6b0ec2575b6522e0f37b3d4902
parent66283a8f49c0cd9fd093d7e1c093825a0511baeb
test_printf: Refactor fwnode_pointer() to make it more readable

Converting fwnode_pointer() to use better swnode API allows to
make code more readable.

While at it, rename full_name to full_name_third to show exact
relation in the hierarchy.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220824170542.18263-1-andriy.shevchenko@linux.intel.com
lib/test_printf.c