]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: pxa: zylonite: use the new ac97 bus support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 3 Jun 2018 20:17:02 +0000 (22:17 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 20 Jun 2018 20:25:51 +0000 (22:25 +0200)
Now the PXA is converted to new ac97 bus support, the wm9713 is
automatically detected and probed. Remove it from the platform bus.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/zylonite.c

index d69de312d8d91a432d5652428cdfc3808ff760e6..52e70a5c1281d95b936cd6f4c38704f2432887f8 100644 (file)
@@ -47,16 +47,6 @@ int wm9713_irq;
 int lcd_id;
 int lcd_orientation;
 
-struct platform_device pxa_device_wm9713_audio = {
-       .name           = "wm9713-codec",
-       .id             = -1,
-};
-
-static void __init zylonite_init_wm9713_audio(void)
-{
-       platform_device_register(&pxa_device_wm9713_audio);
-}
-
 static struct resource smc91x_resources[] = {
        [0] = {
                .start  = ZYLONITE_ETH_PHYS + 0x300,
@@ -428,7 +418,6 @@ static void __init zylonite_init(void)
        zylonite_init_nand();
        zylonite_init_leds();
        zylonite_init_ohci();
-       zylonite_init_wm9713_audio();
 }
 
 MACHINE_START(ZYLONITE, "PXA3xx Platform Development Kit (aka Zylonite)")