Re: [v2] net: xilinx: add a helper function for axienet_probe

From: Markus Elfring
Date: Wed Apr 10 2019 - 05:20:48 EST


> The "Find DMA Node, Map DMA Register, and Decode DMA IRQ" code snippets
> in axienet_probe() are independent. Tidy this function implementation
> a little up by factoring these calls out into a helper function.

Would another adjustment be safer for the word âindependentâ
because there are dependencies usually involved between function calls
for such a software refactoring?


> v2: Massaged changelog a bit

Thanks.

Regards,
Markus