firewire: ohci: use return value from fw_node_get()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 8 Sep 2025 01:21:00 +0000 (10:21 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 8 Sep 2025 01:26:25 +0000 (10:26 +0900)
commitcbb13dceec65b6021a4f403d4fa7b237569a1007
tree0ec32ce0f624b6b6d14caf8c4b9c503c31aea72a
parentc908e072b6932e2d40645f6916c9b4bfe8f3f12f
firewire: ohci: use return value from fw_node_get()

The programming pattern, referring after increasing reference count, is
supported by fw_node_get().

This commit simplify the programming pattern.

Link: https://lore.kernel.org/r/20250908012108.514698-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c