diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-05-17 15:15:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-17 16:03:34 +0200 |
commit | bae3ce4942980d5f7b2b9855f4a2db0c00f9dfbd (patch) | |
tree | 03295a4ddd9f187b5538c2256c5d2c3fd4ec8e0f /sound/usb/usx2y/usx2yhwdeppcm.h | |
parent | 08fdced60ca08e34e316a3ab945636fcdfcbc973 (diff) | |
download | linux-stable-bae3ce4942980d5f7b2b9855f4a2db0c00f9dfbd.tar.gz linux-stable-bae3ce4942980d5f7b2b9855f4a2db0c00f9dfbd.tar.bz2 linux-stable-bae3ce4942980d5f7b2b9855f4a2db0c00f9dfbd.zip |
ALSA: usx2y: Avoid camelCase
For improving readability, convert camelCase fields, variables and
functions to the plain names with underscore. Also align the macros
to be capital letters.
All done via sed, no functional changes.
Note that you'll still see many coding style issues even after this
patch; the fixes will follow.
Link: https://lore.kernel.org/r/20210517131545.27252-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/usx2yhwdeppcm.h')
-rw-r--r-- | sound/usb/usx2y/usx2yhwdeppcm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/usx2y/usx2yhwdeppcm.h b/sound/usb/usx2y/usx2yhwdeppcm.h index eb5a46466f0e..731b1c5a3474 100644 --- a/sound/usb/usx2y/usx2yhwdeppcm.h +++ b/sound/usb/usx2y/usx2yhwdeppcm.h @@ -4,7 +4,7 @@ #define MAXSTRIDE 3 #define SSS (((MAXPACK*MAXBUFFERMS*MAXSTRIDE + 4096) / 4096) * 4096) -struct snd_usX2Y_hwdep_pcm_shm { +struct snd_usx2y_hwdep_pcm_shm { char playback[SSS]; char capture0x8[SSS]; char capture0xA[SSS]; @@ -20,4 +20,4 @@ struct snd_usX2Y_hwdep_pcm_shm { int capture_iso_start; }; -int usX2Y_hwdep_pcm_new(struct snd_card *card); +int usx2y_hwdep_pcm_new(struct snd_card *card); |