diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-29 17:13:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-29 19:40:59 +0200 |
commit | eee5d7f99ae95059e1a3d1cfa2dea3ed8dbd94ac (patch) | |
tree | 438cc363a91ee9ddb6ca0584f30e80e476323ac3 /drivers/memory | |
parent | ASoC: dapm: Pass card instead of dapm context to dapm_power_widgets() (diff) | |
download | linux-eee5d7f99ae95059e1a3d1cfa2dea3ed8dbd94ac.tar.xz linux-eee5d7f99ae95059e1a3d1cfa2dea3ed8dbd94ac.zip |
ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol
We use the same 3 lines to get the CODEC for a kcontrol in a quite a few places.
This patch puts them into a common helper function. Having this encapsulated in
a helper function will also make it more easier to eventually change the data
layout of the kcontrol's private data.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions