staging: most-core: Use bus_find_device_by_name
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 14 Jun 2019 17:53:56 +0000 (18:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2019 03:22:30 +0000 (05:22 +0200)
commit209de31034522fae53f789f52c9461c557011d70
treea558a7c7c370cd3b0c1dd61f6f4edb3fb32d2ed6
parent65bbdd49b4722a09901469e57497850311c017dc
staging: most-core: Use bus_find_device_by_name

Use bus_find_device_by_name() helper instead of writing our
own helper.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Christian Gromm <christian.gromm@microchip.com>
Cc: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c