ASoC: omap-abe-twl6040: Remove support for pdata (legacy boot)
PATCH 1/1 ASoC: omap-abe-twl6040: Remove support for pdata (legacy boot)
Just recently OMAP4 legacy boot support has been removed. No reason to keep the code used by the legacy boot (pdata based) since neither OMAP4 or OMAP5 can boot in this mode.
The platform_data header file will be removed at later point to avoid build issues.
--- include/linux/platform_data/omap-abe-twl6040.h | 2 + sound/soc/omap/omap-abe-twl6040.c | 133 ++++++++----------------- 2 files changed, 43 insertions(+), 92 deletions(-)
include/linux/platform_data/omap-abe-twl6040.h +2 -0
@@ -21,6 +21,8 @@* 02110-1301 USA */ +/* TODO: This file can be removed in 3.12 since it is no longer needed */ +#ifndef _OMAP_ABE_TWL6040_H_#define _OMAP_ABE_TWL6040_H_
sound/soc/omap/omap-abe-twl6040.c +41 -92
182 lines not on this page · raw message
Signature · 1 line
1.8.2.1
Mark Brown
maintainerinclude/linux/platform_data/omap-abe-twl6040.h line 25
Quoted 2 lines · Peter Ujfalusi
include/linux/platform_data/omap-abe-twl6040.h +2
-0+/* TODO: This file can be removed in 3.12 since it is no longer needed */ +
It's a bit late to do this for v3.11 so may as well just jump straight to the removal? Having the extra code isn't going to actively break anything so it's just a cleanup.
Quoted 8 lines · Mark Brown
include/linux/platform_data/omap-abe-twl6040.h line 25
Quoted 2 lines · Peter Ujfalusi
include/linux/platform_data/omap-abe-twl6040.h +2
-0+/* TODO: This file can be removed in 3.12 since it is no longer needed */ +It's a bit late to do this for v3.11 so may as well just jump straight to the removal? Having the extra code isn't going to actively break anything so it's just a cleanup.
I know it is late for 3.11, but if I remove it with this commit your for-next will not compile if OMAP4 is selected since the board files are still there. I prefer to send a separate patch later on to remove the header file after your for-next picks up 3.11-rc1
Signature · 1 line
Péter
Mark Brown
maintainerQuoted 10 lines · Peter Ujfalusi
Quoted 8 lines · Mark Brown
include/linux/platform_data/omap-abe-twl6040.h line 25
Quoted 2 lines · Peter Ujfalusi
include/linux/platform_data/omap-abe-twl6040.h +2
-0+/* TODO: This file can be removed in 3.12 since it is no longer needed */ +It's a bit late to do this for v3.11 so may as well just jump straight to the removal? Having the extra code isn't going to actively break anything so it's just a cleanup.
Quoted 4 lines
I know it is late for 3.11, but if I remove it with this commit your for-next will not compile if OMAP4 is selected since the board files are still there. I prefer to send a separate patch later on to remove the header file after your for-next picks up 3.11-rc1
OK, I'm going to rebase all the non-fix branches onto -rc1 anyway once that's out so probably as well to just wait until then and then go straight to the removal?
Quoted 3 lines · Mark Brown
OK, I'm going to rebase all the non-fix branches onto -rc1 anyway once that's out so probably as well to just wait until then and then go straight to the removal?
Sure, I'm not in a hurry with this one.
Signature · 1 line
Péter