OSDN Git Service

coresight: Deduplicate bus_find_device() by name matching
authorLukas Wunner <lukas@wunner.de>
Mon, 18 Dec 2017 18:05:42 +0000 (11:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 09:05:18 +0000 (10:05 +0100)
commit26cf91f42eaf112074b92e5010c9b710b5b49c12
treede6607820d3e4597fc5dc36dbd6196365f0e2f1d
parentbbecb07fa0af9a41507ce06d4631fdb3b5059417
coresight: Deduplicate bus_find_device() by name matching

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

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight.c