Thread (10 messages) 10 messages, 5 authors, 2021-10-15

Re: [PATCH 7/9] net: mdio: mdio-bcm-iproc: simplify getting .driver_data

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2021-09-21 05:52:29
Also in: linux-renesas-soc, lkml, netdev

The change looks good to me, however if you change from
platform_get_drvdata() to dev_get_drvdata(), you might also want to
change from using platform_set_drvdata() to dev_set_drvdata() for
symmetry no? If not, then maybe this patch should be dropped?
In theory, yes. However, I haven't finished the coccinelle script yet
because there are a lot more usage patterns. I can do this individually
for this driver first if you want.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help