diff mbox series

[v2,1/3] ARM: OMAP2+: pdata-quirks: stop including wl12xx.h

Message ID 20221109224250.2885119-1-dmitry.torokhov@gmail.com
State New
Headers show
Series [v2,1/3] ARM: OMAP2+: pdata-quirks: stop including wl12xx.h | expand

Commit Message

Dmitry Torokhov Nov. 9, 2022, 10:42 p.m. UTC
As of commit 2398c41d6432 ("omap: pdata-quirks: remove openpandora
quirks for mmc3 and wl1251") the code no longer creates an instance of
wl1251_platform_data, so there is no need for including this header.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---

Changes in v2: added fix to arch/arm/mach-omap2/pdata-quirks.c
Note this series was only compile-tested.

 arch/arm/mach-omap2/pdata-quirks.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Tony Lindgren Nov. 10, 2022, 7:13 a.m. UTC | #1
* Dmitry Torokhov <dmitry.torokhov@gmail.com> [221109 22:33]:
> As of commit 2398c41d6432 ("omap: pdata-quirks: remove openpandora
> quirks for mmc3 and wl1251") the code no longer creates an instance of
> wl1251_platform_data, so there is no need for including this header.

Best to merge this together with the rest of the series:

Acked-by: Tony Lindgren <tony@atomide.com>
Kalle Valo Nov. 14, 2022, 12:55 p.m. UTC | #2
Tony Lindgren <tony@atomide.com> writes:

> * Dmitry Torokhov <dmitry.torokhov@gmail.com> [221109 22:33]:
>> As of commit 2398c41d6432 ("omap: pdata-quirks: remove openpandora
>> quirks for mmc3 and wl1251") the code no longer creates an instance of
>> wl1251_platform_data, so there is no need for including this header.
>
> Best to merge this together with the rest of the series:
>
> Acked-by: Tony Lindgren <tony@atomide.com>

Ok, so I'll plan to take the full series to wireless-next. Please let me
know if I misunderstood.
Kalle Valo Nov. 16, 2022, 9:38 a.m. UTC | #3
Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:

> As of commit 2398c41d6432 ("omap: pdata-quirks: remove openpandora
> quirks for mmc3 and wl1251") the code no longer creates an instance of
> wl1251_platform_data, so there is no need for including this header.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Acked-by: Tony Lindgren <tony@atomide.com>

3 patches applied to wireless-next.git, thanks.

e14e4c933e00 ARM: OMAP2+: pdata-quirks: stop including wl12xx.h
06463f6e98df wifi: wl1251: drop support for platform data
a1d0b9535cd8 wifi: wl1251: switch to using gpiod API
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 9deba798cc91..baba73fd6f11 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -10,7 +10,6 @@ 
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
-#include <linux/wl12xx.h>
 #include <linux/mmc/card.h>
 #include <linux/mmc/host.h>
 #include <linux/power/smartreflex.h>