]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Mon, 7 Jun 2021 22:17:56 +0000 (01:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:53:43 +0000 (16:53 +0200)
commit352f360d16444fc71db42143b38e24924e864348
tree12e9b4af15ebd21aa8fe3f6c8ae67e892c4d89a6
parentaa593280e3ef4fd76c54ae621b2b0c8032276b19
eeprom: idt_89hpesx: Restore printing the unsupported fwnode name

[ Upstream commit e0db3deea73ba418bf5dc21f5a4e32ca87d16dde ]

When iterating over child firmware nodes restore printing the name of ones
that are not supported.

While at it, refactor loop body to clearly show that we stop at the first match.

Fixes: 0b07b2a45b3c ("eeprom: idt_89hpesx: Support both ACPI and OF probing")
Cc: Huy Duong <qhuyduong@hotmail.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210607221757.81465-2-andy.shevchenko@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/eeprom/idt_89hpesx.c