[PATCHv3 net-next] net: modernize IRQ resource acquisition
Marc Kleine-Budde
mkl at pengutronix.de
Wed Nov 13 18:14:41 AEDT 2024
On 12.11.2024 13:14:42, 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 at gmail.com>
> (for CAN)
> Reviewed-by: Marc Kleine-Budde <mkl at pengutronix.de>
Please write this as:
Reviewed-by: Marc Kleine-Budde <mkl at pengutronix.de> # for CAN
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20241113/abd0b387/attachment.sig>
More information about the Linuxppc-dev
mailing list