topology: cosmetic changes (functions)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-01-03 22:56:48 +01:00
parent d768da27e7
commit b20b400e2f
5 changed files with 24 additions and 21 deletions

View file

@ -71,7 +71,8 @@ static ssize_t write_block_header(snd_tplg_t *tplg, unsigned int type,
} }
static int write_elem_block(snd_tplg_t *tplg, static int write_elem_block(snd_tplg_t *tplg,
struct list_head *base, size_t size, int tplg_type, const char *obj_name) struct list_head *base, size_t size,
int tplg_type, const char *obj_name)
{ {
struct list_head *pos, *sub_pos, *sub_base; struct list_head *pos, *sub_pos, *sub_base;
struct tplg_elem *elem, *elem_next; struct tplg_elem *elem, *elem_next;

View file

@ -736,7 +736,8 @@ int tplg_save_control_enum(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
* Mixer control. Supports multiple channels. * Mixer control. Supports multiple channels.
*/ */
int tplg_parse_control_mixer(snd_tplg_t *tplg, int tplg_parse_control_mixer(snd_tplg_t *tplg,
snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) snd_config_t *cfg,
void *private ATTRIBUTE_UNUSED)
{ {
struct snd_soc_tplg_mixer_control *mc; struct snd_soc_tplg_mixer_control *mc;
struct tplg_elem *elem; struct tplg_elem *elem;

View file

@ -589,7 +589,8 @@ unsigned int tplg_get_tuple_size(int type)
/* Add a tuples object to the private buffer of its parent data element */ /* Add a tuples object to the private buffer of its parent data element */
static int copy_tuples(struct tplg_elem *elem, static int copy_tuples(struct tplg_elem *elem,
struct tplg_vendor_tuples *tuples, struct tplg_vendor_tokens *tokens) struct tplg_vendor_tuples *tuples,
struct tplg_vendor_tokens *tokens)
{ {
struct snd_soc_tplg_private *priv = elem->data, *priv2; struct snd_soc_tplg_private *priv = elem->data, *priv2;
struct tplg_tuple_set *tuple_set; struct tplg_tuple_set *tuple_set;

View file

@ -1124,8 +1124,8 @@ static int parse_hw_config_refs(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
} }
/* Parse a physical link element in text conf file */ /* Parse a physical link element in text conf file */
int tplg_parse_link(snd_tplg_t *tplg, int tplg_parse_link(snd_tplg_t *tplg, snd_config_t *cfg,
snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) void *private ATTRIBUTE_UNUSED)
{ {
struct snd_soc_tplg_link_config *link; struct snd_soc_tplg_link_config *link;
struct tplg_elem *elem; struct tplg_elem *elem;
@ -1264,8 +1264,8 @@ int tplg_save_link(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
} }
/* Parse cc */ /* Parse cc */
int tplg_parse_cc(snd_tplg_t *tplg, int tplg_parse_cc(snd_tplg_t *tplg, snd_config_t *cfg,
snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) void *private ATTRIBUTE_UNUSED)
{ {
struct snd_soc_tplg_link_config *link; struct snd_soc_tplg_link_config *link;
struct tplg_elem *elem; struct tplg_elem *elem;