Commit f72a9c2
ASoC: rt5645: Refactor rt5645_parse_dt()
Refactor rt5645_parse_dt(), make it take a pointer to
struct rt5645_platform_data as argument instead of passing in
the complete rt5645_priv struct.
While at it also make it void since it always succeeds.
This is a preparation patch for factoring the code to get
the platform-data out into a separate helper function.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20231126214024.300505-4-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 8f28e19 commit f72a9c2
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3869 | 3869 | | |
3870 | 3870 | | |
3871 | 3871 | | |
3872 | | - | |
| 3872 | + | |
3873 | 3873 | | |
3874 | | - | |
3875 | | - | |
3876 | | - | |
3877 | | - | |
3878 | | - | |
3879 | | - | |
3880 | | - | |
3881 | | - | |
3882 | | - | |
3883 | | - | |
| 3874 | + | |
| 3875 | + | |
| 3876 | + | |
| 3877 | + | |
3884 | 3878 | | |
3885 | 3879 | | |
3886 | 3880 | | |
| |||
3909 | 3903 | | |
3910 | 3904 | | |
3911 | 3905 | | |
3912 | | - | |
| 3906 | + | |
3913 | 3907 | | |
3914 | 3908 | | |
3915 | 3909 | | |
| |||
0 commit comments