]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: davinci_emac: Deduplicate bus_find_device() by name matching
authorLukas Wunner <lukas@wunner.de>
Sat, 25 Nov 2017 11:18:19 +0000 (12:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:24:08 +0000 (09:24 -0500)
commit1931916aa76b5ca5ec4fdc8471217f8b1cfbb7a1
tree2b767118ae55cd15a5a3682bd602178bf9dc3a29
parentaef56551e32c176e5072319fb4786aac4407ccf6
net: ethernet: davinci_emac: Deduplicate bus_find_device() by name matching

No need to reinvent the wheel, we have bus_find_device_by_name().

Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c