]> git.sur5r.net Git - u-boot/commit
scripts: Add a cocci patch for miiphy_register
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 8 Aug 2016 16:28:37 +0000 (11:28 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 20:26:23 +0000 (15:26 -0500)
commit63d985985e383111e082c78398444941a0b9fadf
treeb6a84a8ec33d05fdf526b3f554b9c1e174c0aa39
parent0d0779c14128d561b9ce26efd414b5358197e52c
scripts: Add a cocci patch for miiphy_register

Many Ethernet drivers still use the legacy miiphy API to register their
mdio interface for access to the mdio commands.

This semantic patch will convert the drivers from the legacy adapter API
to the more modern alloc/register API.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
scripts/coccinelle/net/mdio_register.cocci [new file with mode: 0644]