ramips: ethernet: use devm for request_irq
authorRosen Penev <rosenp@gmail.com>
Tue, 30 Jul 2024 01:31:53 +0000 (18:31 -0700)
committerRobert Marko <robimarko@gmail.com>
Mon, 19 Aug 2024 08:45:06 +0000 (10:45 +0200)
commit40452223d6a8c184db9836cea9f32e7f7f24ebe9
treefeb4f0b896f860759b5c96c1743549f795557424
parent5d2a008670122f3f69eb3ab4f776d9fe9b6d76dd
ramips: ethernet: use devm for request_irq

Allows removing free_irq. Simpler.

Oddly enough the other switch code already does this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16050
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c