linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/9] ARM: Kirkwood: Remove platform driver for codec
Date: Sat,  3 May 2014 20:30:12 +0200	[thread overview]
Message-ID: <1399141819-23924-3-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1399141819-23924-1-git-send-email-andrew@lunn.ch>

Remove the platform driver and platform data for the audio codec.
A DT node will replace it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/mach-mvebu/board-t5325.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/arch/arm/mach-mvebu/board-t5325.c b/arch/arm/mach-mvebu/board-t5325.c
index 65ace6db9f28..f2401b298218 100644
--- a/arch/arm/mach-mvebu/board-t5325.c
+++ b/arch/arm/mach-mvebu/board-t5325.c
@@ -11,10 +11,8 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/i2c.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <sound/alc5623.h>
 #include "board.h"
 
 static struct platform_device hp_t5325_audio_device = {
@@ -22,20 +20,7 @@ static struct platform_device hp_t5325_audio_device = {
 	.id		= -1,
 };
 
-static struct alc5623_platform_data alc5621_data = {
-	.add_ctrl = 0x3700,
-	.jack_det_ctrl = 0x4810,
-};
-
-static struct i2c_board_info i2c_board_info[] __initdata = {
-	{
-		I2C_BOARD_INFO("alc5621", 0x1a),
-		.platform_data = &alc5621_data,
-	},
-};
-
 void __init t5325_init(void)
 {
-	i2c_register_board_info(0, i2c_board_info, ARRAY_SIZE(i2c_board_info));
 	platform_device_register(&hp_t5325_audio_device);
 }
-- 
2.0.0.rc0

  parent reply	other threads:[~2014-05-03 18:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-03 18:30 [PATCH v2 0/9] DT instantiation of sound on T5325 Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 1/9] ASoC: alc5623: Add device tree binding Andrew Lunn
2014-05-04 17:49   ` Jason Cooper
2014-05-20 22:12   ` Mark Brown
2014-05-03 18:30 ` Andrew Lunn [this message]
2014-05-05  1:12   ` [PATCH v2 2/9] ARM: Kirkwood: Remove platform driver for codec Jason Cooper
2014-05-03 18:30 ` [PATCH v2 3/9] ARM: Kirkwood: Add node for audio codec Andrew Lunn
2014-05-05  1:21   ` Jason Cooper
2014-05-03 18:30 ` [PATCH v2 4/9] ARM: Kirkwood: DT: Add missing #sound-dai-cells property Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 5/9] ASoC: simple-card: Support setting mclk via a fixed factor Andrew Lunn
2014-05-04 17:50   ` Jason Cooper
2014-05-20 22:13   ` Mark Brown
2014-05-22 15:31     ` [PATCH v3 " Andrew Lunn
2014-05-22 17:39       ` Mark Brown
2014-05-22 17:52         ` Andrew Lunn
2014-05-22 18:30           ` Mark Brown
2014-05-22 19:10             ` Andrew Lunn
2014-05-22 19:23               ` Mark Brown
2014-05-26 13:29       ` Mark Brown
2014-05-03 18:30 ` [PATCH v2 6/9] ARM: Kirkwood: t5325: Remove platform device to instantiate audio Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 7/9] ARM: Kirkwood: t5325: Use simple card " Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 8/9] ARM: mvebu_v5_defconfig: Enable sound modules needed for t5325 Andrew Lunn
2014-05-05  1:23   ` Jason Cooper
2014-05-03 18:30 ` [PATCH v2 9/9] ARM: multi_v5_defconfig: " Andrew Lunn
2014-05-08 17:37 ` [PATCH v2 0/9] DT instantiation of sound on T5325 Andrew Lunn
2014-05-20 21:47   ` Mark Brown
2014-05-20 21:53     ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1399141819-23924-3-git-send-email-andrew@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).