]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: Intel: bytcht_es8316: Minor refactoring
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Jan 2019 13:45:29 +0000 (14:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jan 2019 15:15:20 +0000 (15:15 +0000)
commit86909c8f77c5eda17a9b5dc954849e25df1ffe0f
tree12d01f36d93b652edc6c73544619a2379a5ae83f
parent6ca382c4363d6c636200ccdd9ac95f44b1a498ea
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>
sound/soc/intel/boards/bytcht_es8316.c