Skip to contentSkip to conversation

ASoC: mxs-saif: Remove platform data

PATCH RESEND In review Fabio Estevam 2 participants 4 messages Jan 8, 2013

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH RESEND v5 2/2 ASoC: mxs-saif: Remove platform data

From: Fabio Estevam <[email protected]>

All MXS users have been converted to device tree and the board files have been removed.

No need to keep platform data in the driver.

---
Changes since v4:
- Rebased against fix/mxs branch and fix file removal
Changes since v3:
- Remove pdev->id check
Changes since v2:
- Also remove 'if (np)' as dt is the only probing mechanism. Changes since v1:
- Also remove mxs_saif_platform_data and sound/saif.h, which was used only to include mxs_saif_platform_data definition.

 include/sound/saif.h     |   16 ----------------
 sound/soc/mxs/mxs-saif.c |   44 ++++++++++++++++----------------------------
 2 files changed, 16 insertions(+), 44 deletions(-)
 delete mode 100644 include/sound/saif.h
include/sound/saif.h deleted +0 -16
deleted file mode 100644
index f22f3e1..0000000
@@ -1,16 +0,0 @@
-/*
- * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef __SOUND_SAIF_H__
-#define __SOUND_SAIF_H__
-
-struct mxs_saif_platform_data {
-	bool master_mode;	/* if true use master mode */
-	int master_id;		/* id of the master if in slave mode */
-};
-#endif
sound/soc/mxs/mxs-saif.c +16 -28

66 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

All MXS users have been converted to device tree and the board files have been removed.

This was actually already applied. Oh well.