From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Neri Subject: [PATCH v3 1/5] ARM: OMAP4+: HDMI: Rename platform devices for ASoC drivers Date: Mon, 17 Dec 2012 19:30:39 -0600 Message-ID: <1355794243-32345-2-git-send-email-rneri@dextratech.com> References: <1355794243-32345-1-git-send-email-rneri@dextratech.com> Return-path: In-Reply-To: <1355794243-32345-1-git-send-email-rneri@dextratech.com> Sender: linux-omap-owner@vger.kernel.org To: tomi.valkeinen@ti.com, broonie@opensource.wolfsonmicro.com, lrg@ti.com, tony@atomide.com Cc: peter.ujfalusi@ti.com, dzuniga@dextratech.com, linux-omap@vger.kernel.org, alsa-devel@alsa-project.org, Ricardo Neri List-Id: alsa-devel@alsa-project.org Assign more logical and meaningful names to the platform devices used by ASoC OMAP HDMI drivers. The previous omap-hdmi-audio device is renamed as omap-hdmi-audio-card This is to better illustrate the fact that it describes the whole HDMI audio in a given board. The previous omap-hdmi-audio-dai is renamed as omap-hdmi-audio. The -dai part is removed to not have references to ASoC concepts in the OMAPDSS HDMI driver. Also, as it will be used by the ASoC HDMI CPU DAI driver, the name refers only to OMAP HDMI audio functionality, irrespective of the board. The names of the ASoC drivers are also updated accordingly. Signed-off-by: Ricardo Neri --- arch/arm/mach-omap2/devices.c | 4 ++-- sound/soc/omap/omap-hdmi-card.c | 4 ++-- sound/soc/omap/omap-hdmi.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index cba60e0..66518b2 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -356,7 +356,7 @@ static inline void omap_init_dmic(void) {} defined(CONFIG_SND_OMAP_SOC_OMAP_HDMI_MODULE) static struct platform_device omap_hdmi_audio = { - .name = "omap-hdmi-audio", + .name = "omap-hdmi-audio-card", .id = -1, }; @@ -371,7 +371,7 @@ static void __init omap_init_hdmi_audio(void) return; } - pdev = omap_device_build("omap-hdmi-audio-dai", + pdev = omap_device_build("omap-hdmi-audio", -1, oh, NULL, 0, NULL, 0, 0); WARN(IS_ERR(pdev), "Can't build omap_device for omap-hdmi-audio-dai.\n"); diff --git a/sound/soc/omap/omap-hdmi-card.c b/sound/soc/omap/omap-hdmi-card.c index eaa2ea0..07b9959 100644 --- a/sound/soc/omap/omap-hdmi-card.c +++ b/sound/soc/omap/omap-hdmi-card.c @@ -27,12 +27,12 @@ #include #include