diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-12-17 02:11:28 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-12-25 11:11:21 +0300 |
commit | 0f7e5ee62f4c24ca9db58351c86653cc3ee0bd0e (patch) | |
tree | 0f934d2450213545d74309261f72cdd5d5174ecc /sound/synth/Makefile | |
parent | 12054f0ce8be7d2003ec068ab27c9eb608397b98 (diff) | |
download | linux-0f7e5ee62f4c24ca9db58351c86653cc3ee0bd0e.tar.xz |
ALSA: HDA: hdac_ext_stream: use consistent prefixes for variables
The existing code maximizes confusion by using 'stream' and 'hstream'
variables of different types. Examples:
struct hdac_stream *stream;
struct hdac_ext_stream *stream;
struct hdac_stream *hstream;
struct hdac_ext_stream *hstream;
with some additional copy/paste remains:
struct hdac_ext_stream *azx_dev;
This patch suggests a consistent naming across all 'hdac_ext_stream'
functions. The convention is:
struct hdac_stream *hstream;
struct hdac_ext_stream *hext_stream;
No functionality change - just renaming of variables and more
consistent indentation.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20211216231128.344321-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth/Makefile')
0 files changed, 0 insertions, 0 deletions