Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2852784imm; Sun, 3 Jun 2018 13:18:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJlE4AaD3sb/hjU8ljjDDQcjd7zHvP0II7MbUglH2UFp7KgleIhzsPUK47iooouxfI6oTUD X-Received: by 2002:aa7:8345:: with SMTP id z5-v6mr10831338pfm.251.1528057091982; Sun, 03 Jun 2018 13:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528057091; cv=none; d=google.com; s=arc-20160816; b=w6sWwxjT2q2fl4fL4HzXVDZ0ioPdo1uDK2KhhuIO2jLI7JJ92JuCRqHrnclesnij5b /zUvW3e3d/EYvpXWaGKYlfZd/JOdPTJrE3rx+MXiUY9qbLr7JRi84FfnEGz9CBZ94O3H LcL1uvIGYsFwMRQg1VGBErv8CYOYoKlkyySk/8g93scI9iih3wMkbWAmsVH1d1wxqlvi 8omksGp+gyaukrvjjBO0ROEc7/OZlQYW4LMjjJv+ciIwJIiNL2henuorVcLGO4q9+0l7 BiCcrOnEXtT7UXKcEYxMedIiDNl6zWxMn/biIrXQS8yNtHvN+RJwlj/0vc3AWqR++3bC hQZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=RHOCsvVpra19cDVaYsk5UfWFN06ZcyJqysiHr7ASiWI=; b=uy8Y6br8LkxbfGjks9l4IFgB2EPH7p2vsdF9ZTPyBEUE2cMCTNfYTovkdRUiZ/KLeW nMoUv1tqB+l/DahLO2gPSpFPSycZnzdFrbYPMk59OURyYQ3z/cAWHkDn3HMRRlV4piAh sqqgpa3PLeU6lahylJNDpFFyXyWWCDQ0wHF1p7tMDwy11nw8hrn3t0Za6JCtDEaDeJRv GPe8hveSk92dJG8EipYSp4syMY3Cci4RUMVgQU5ZRpKqUEUmYB+LMxx7BY0rHXDhHtGt kETs+4LIXeKxuTdQOtfSTfUiAM2u7uJ6/LbU8uNwTO9PFPMcwt/fR/HXbOKG2RDi44Dx 0nig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v14-v6si3431710pfe.149.2018.06.03.13.17.57; Sun, 03 Jun 2018 13:18:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751439AbeFCURH (ORCPT + 99 others); Sun, 3 Jun 2018 16:17:07 -0400 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:35632 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbeFCURG (ORCPT ); Sun, 3 Jun 2018 16:17:06 -0400 Received: from belgarion.home ([90.55.202.35]) by mwinf5d27 with ME id uLH41x00A0mKt3N03LH4UR; Sun, 03 Jun 2018 22:17:05 +0200 X-ME-Helo: belgarion.home X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Sun, 03 Jun 2018 22:17:05 +0200 X-ME-IP: 90.55.202.35 From: Robert Jarzmik To: Daniel Mack , Haojian Zhuang , Robert Jarzmik Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: pxa: zylonite: use the new ac97 bus support Date: Sun, 3 Jun 2018 22:17:02 +0200 Message-Id: <20180603201702.15919-1-robert.jarzmik@free.fr> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/mach-pxa/zylonite.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/arm/mach-pxa/zylonite.c b/arch/arm/mach-pxa/zylonite.c index d69de312d8d9..52e70a5c1281 100644 --- a/arch/arm/mach-pxa/zylonite.c +++ b/arch/arm/mach-pxa/zylonite.c @@ -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)") -- 2.11.0