Re: [PATCHv3 net-next] net: modernize IRQ resource acquisition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/12/24 13:14, Rosen Penev wrote:
In probe, np == pdev->dev.of_node. It's easier to pass pdev directly.

Replace irq_of_parse_and_map() by platform_get_irq() to do so. Requires
removing the error message as well as fixing the return type.

Replace of_address_to_resource() with platform_get_resource() for the
same reason.

Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
(for CAN)
Reviewed-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>

For bcm_sf2.c:

Tested-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>

--
Florian




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux