realtek: Improve IRQ request in Ethernet driver
authorBirger Koblitz <git@birger-koblitz.de>
Tue, 11 Jan 2022 13:23:23 +0000 (14:23 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commita82583594277e12d31254697aa6b034f4b59f6f5
treedd1b581a7b1e53b198fd5b19a07dcd9876560d58
parenta75b9e3ecb61c00f026459d2d6a3e465f9346543
realtek: Improve IRQ request in Ethernet driver

Improves the IRQ request code by using platform_get_irq() which provides
better error handling.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c