ASoC: mxs-saif: Remove platform data
Subsystems (3)
Fabio Estevam
reviewerPATCH 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
@@ -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
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.
Fabio Estevam
reviewerQuoted 7 lines · Mark Brown
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.
Which branch, please? I am using linux-next and I don't see it there:
http://git.kernel.org/?p=linux/kernel/git/broonie/sound.git;a=summary
Thanks,
Fabio Estevam
Quoted 2 lines · Fabio Estevam
Which branch, please? I am using linux-next and I don't see it there:
http://git.kernel.org/?p=linux/kernel/git/broonie/sound.git;a=summary
topic/mxs and -next. I'd not pushed it out but it was applied.