]> 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)
commit5f65fca1fca06aab8c52d6f9e4b6050dec399c75
tree2b767118ae55cd15a5a3682bd602178bf9dc3a29
parent629045ff943dd8068230eecf66165d931b52e64d
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