diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-10 14:02:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 16:01:55 +0200 |
commit | c21b0837983d3b00c4f73927dae8441bf478087f (patch) | |
tree | 40a2a7ecb942e52c06068d46dbee1c266a3cf1df /sound | |
parent | driver core: Introduce device_find_any_child() helper (diff) | |
download | linux-c21b0837983d3b00c4f73927dae8441bf478087f.tar.xz linux-c21b0837983d3b00c4f73927dae8441bf478087f.zip |
spi: Use device_find_any_child() instead of custom approach
We have already a helper to get the first child device, use it and
drop custom approach.
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220610120219.18988-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions