diff options
| author | Kuninori Morimoto <[email protected]> | 2019-06-20 16:03:41 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-06-20 13:00:39 +0100 |
| commit | 7f80e1376aa4e74924ca3cb229dbd6c54fa4656e (patch) | |
| tree | 7b1b44e0f1880b9a84b9a2995aaecc176d41a670 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9700022109b6c495fb571f77324d34b294b29145 (diff) | |
ASoC: rt5514-spi: don't use snd_soc_lookup_component()
rt5514-spi can use dev_get_drvdata() to get its component
because it is using snd_soc_component_set_drvdata();
static int rt5514_spi_pcm_probe(...)
{
...
=> snd_soc_component_set_drvdata(component, ...);
...
}
We don't need to use snd_soc_lookup_component() for it.
This patch uses dev_get_drvdata() instead of snd_soc_lookup_component().
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions