History

ASoC: core: Simplify snd_soc_component_initialize declaration

Move 'name' field initialization responsibility back to snd_soc_component_initialize to prepare snd_soc_add_component function for being called separatelly as a second registration step.

Cezary Rojewski committed 6 years ago

Commit 7274d4c1 parent 08ff7202 files · +9 −11Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/sound/soc.h+1−1
@@ -416,7 +416,7 @@ static inline int snd_soc_resume(struct device *dev) · 415 unmodified lines
416416 int snd_soc_poweroff(struct device *dev);
417417 int snd_soc_component_initialize(struct snd_soc_component *component,
418418 const struct snd_soc_component_driver *driver,
419− struct device *dev, const char *name);
419+ struct device *dev);
420420 int snd_soc_add_component(struct device *dev,
421421 struct snd_soc_component *component,
422422 const struct snd_soc_component_driver *component_driver,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t