OSDN Git Service

ASoC: rt5645: Move rt5645_platform_data to sound/soc/codecs/rt5645.c
authorHans de Goede <hdegoede@redhat.com>
Sat, 6 Mar 2021 23:02:22 +0000 (00:02 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:13:29 +0000 (13:13 +0000)
commit452801cabc0a0f0cb742e98617d3f0e8a2b11295
tree04c5f4d377904ceb1aacf8a008ca2fc5b30d5acc
parentcc2d7429d65c7ea9dc2f84694f47b030248d0d89
ASoC: rt5645: Move rt5645_platform_data to sound/soc/codecs/rt5645.c

sound/soc/codecs/rt5645.c is the only user of the rt5645_platform_data,
move its definition to sound/soc/codecs/rt5645.c and remove the now
empty include/sound/rt5645.h file.

Note since the DMI quirk mechanism uses pointers to the
rt5645_platform_data struct we can NOT simply add its members to
the rt5645_priv struct and completely remove the struct.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210306230223.516566-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5645.h [deleted file]
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.h