diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-01-03 14:45:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-04 15:15:20 +0000 |
commit | 86909c8f77c5eda17a9b5dc954849e25df1ffe0f (patch) | |
tree | 12d01f36d93b652edc6c73544619a2379a5ae83f /samples | |
parent | 6ca382c4363d6c636200ccdd9ac95f44b1a498ea (diff) |
ASoC: Intel: bytcht_es8316: Minor refactoring
Some minor refactoring:
1) Group the code setting the card dev and prive pointers together with
registering the card
2) Properly put the comment about registering the card at the place where
we actually register the card and add a new comment for getting the clk
3) Add a struct device *dev helper variable (this will be used more in
follow up commits)
4) Reword error message to have the same "foo failed: %d" wording as others
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions