Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd64138c authored by Jaroslav Kysela's avatar Jaroslav Kysela Committed by Takashi Iwai
Browse files

ALSA: include/sound/info.h - coding style changed



Change coding style to be more acceptable by checkpatch.pl.

Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 972d4c50
Loading
Loading
Loading
Loading
+57 −51
Original line number Diff line number Diff line
@@ -40,8 +40,10 @@ struct snd_info_buffer {
struct snd_info_entry;

struct snd_info_entry_text {
	void (*read) (struct snd_info_entry *entry, struct snd_info_buffer *buffer);
	void (*write) (struct snd_info_entry *entry, struct snd_info_buffer *buffer);
	void (*read)(struct snd_info_entry *entry,
		     struct snd_info_buffer *buffer);
	void (*write)(struct snd_info_entry *entry,
		      struct snd_info_buffer *buffer);
};

struct snd_info_entry_ops {
@@ -55,10 +57,12 @@ struct snd_info_entry_ops {
	long (*write)(struct snd_info_entry *entry, void *file_private_data,
		      struct file *file, const char __user *buf,
		      unsigned long count, unsigned long pos);
	long long (*llseek) (struct snd_info_entry *entry, void *file_private_data,
			    struct file * file, long long offset, int orig);
	unsigned int (*poll) (struct snd_info_entry *entry, void *file_private_data,
			      struct file * file, poll_table * wait);
	long long (*llseek)(struct snd_info_entry *entry,
			    void *file_private_data, struct file *file,
			    long long offset, int orig);
	unsigned int(*poll)(struct snd_info_entry *entry,
			    void *file_private_data, struct file *file,
			    poll_table *wait);
	int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
		     struct file *file, unsigned int cmd, unsigned long arg);
	int (*mmap)(struct snd_info_entry *entry, void *file_private_data,
@@ -106,7 +110,8 @@ void snd_card_info_read_oss(struct snd_info_buffer *buffer);
static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {}
#endif

int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3)));
int snd_iprintf(struct snd_info_buffer *buffer, char *fmt, ...) \
				__attribute__ ((format (printf, 2, 3)));
int snd_info_init(void);
int snd_info_done(void);

@@ -130,7 +135,8 @@ void snd_info_card_id_change(struct snd_card * card);
int snd_info_register(struct snd_info_entry *entry);

/* for card drivers */
int snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_entry **entryp);
int snd_card_proc_new(struct snd_card *card, const char *name,
		      struct snd_info_entry **entryp);

static inline void snd_info_set_text_ops(struct snd_info_entry *entry, 
	void *private_data,