From patchwork Mon Apr 24 12:34:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2628674vqo; Mon, 24 Apr 2023 03:04:58 -0700 (PDT) X-Google-Smtp-Source: AKy350alNMscOZ6jbfeGJl2qVqeBDySzOqAWqUkuJAJN33nmyX7Xfu699I6qHwKfk2tg/Xzkup0F X-Received: by 2002:a17:90b:390f:b0:246:9170:a9be with SMTP id ob15-20020a17090b390f00b002469170a9bemr12862085pjb.13.1682330698196; Mon, 24 Apr 2023 03:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682330698; cv=none; d=google.com; s=arc-20160816; b=ODMd5mFGUidZEowuR5JztOOb+8cfQDTGNSBzEelx0uCExnLAmeb2j8r/T6POg1e79J ix6L1ttYEtZX5hIeSkLk1z5KCtiJxlYO5E3pe47O3QFwwYLud9zwZpy39jpcv6s8gckD ox3bsoVRr9E/k7qYCyk8qhwHQtdviGraScy5ZXhk8sXJbLa2b651l9HRm5kZHTBlZFi8 50KpD7h9Eqe5aVOmW+lHPHwobnMimAc0VBT+N1Aq9r6xTq89cTqDRuY3VKD6rcw943dH RO4X7s2XOWfsseL/t7tXjBg3ole1Lu285wrHclenSVqH2Bs1QgDIpsB0usJvf4JLGLCD kYcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=Ti4rmk9GtD+fdUS3cXOpHQKoJb3lg100jXiX2vylp5A=; b=kvpiasjBpUvSN28uMijGpQAQzZBHYrXF+a/IYDfezS3h4pNq5m5Ac3Xb3EukdrE3Xz i83nLbBVkTIvV91oGk0ZIh9lHpEeFVh4Jiysas/kdkqNpO26c0hcavH4FZZ/nSHO8axM IcAiiFkxfZa2lPLkvk8ZZCi9SwBj0jBQuKhlnpJXVLYZpyAEXnguUKsDw8kfoQuk/NhT Og3OxDhQhcUiei2lW8YkwaRVqZWu7jPdlsVUvjnG49jL6Xb3DxGWYsAV4QlOXZmo2dgf pc5+AgGKYjrLIyvaxpfc1wdX3yPgRAriAUYcov4QR96TdiT2I0/1SzBJcO3HLgKkD4sh 78lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=f+2TuJ4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj8-20020a17090b088800b00246fd478a3bsi10647244pjb.164.2023.04.24.03.04.41; Mon, 24 Apr 2023 03:04:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=f+2TuJ4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231597AbjDXJvv (ORCPT + 99 others); Mon, 24 Apr 2023 05:51:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjDXJvj (ORCPT ); Mon, 24 Apr 2023 05:51:39 -0400 Received: from forward501b.mail.yandex.net (forward501b.mail.yandex.net [178.154.239.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5A1930FF for ; Mon, 24 Apr 2023 02:51:32 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501b.mail.yandex.net (Yandex) with ESMTP id 49E9E5EB14; Mon, 24 Apr 2023 12:36:12 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-sRmf96JB; Mon, 24 Apr 2023 12:36:12 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328972; bh=Ti4rmk9GtD+fdUS3cXOpHQKoJb3lg100jXiX2vylp5A=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=f+2TuJ4q7vopWgrQYEdbOHo5PlYImRqhUgnB8d6vd6ffvEptPbYF0vq61RH4v+phm lP9auUVDmh9yJohjldy73bMbEKO0eXtMLtH1ty2dIwvZ5mHYp8GhRbyl1YVlfZ5Xbh ZxrQymSyC+5EpXqfd9iC3SrV7UOANPc1g5wlgRv4= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Linus Walleij , linux-kernel@vger.kernel.org Subject: [PATCH 38/43] ARM: ep93xx: soc: drop defines Date: Mon, 24 Apr 2023 15:34:54 +0300 Message-Id: <20230424123522.18302-39-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764051594002009906?= X-GMAIL-MSGID: =?utf-8?q?1764051594002009906?= Remove unnecessary defines, as we dropped board files. Signed-off-by: Nikita Shubin --- include/linux/soc/cirrus/ep93xx.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/linux/soc/cirrus/ep93xx.h b/include/linux/soc/cirrus/ep93xx.h index f0f770a103be..bba0a5ca4335 100644 --- a/include/linux/soc/cirrus/ep93xx.h +++ b/include/linux/soc/cirrus/ep93xx.h @@ -2,34 +2,12 @@ #ifndef _SOC_EP93XX_H #define _SOC_EP93XX_H -struct platform_device; - #define EP93XX_CHIP_REV_D0 3 #define EP93XX_CHIP_REV_D1 4 #define EP93XX_CHIP_REV_E0 5 #define EP93XX_CHIP_REV_E1 6 #define EP93XX_CHIP_REV_E2 7 -#if defined(CONFIG_ARCH_EP93XX) && !defined(CONFIG_OF) -int ep93xx_pwm_acquire_gpio(struct platform_device *pdev); -void ep93xx_pwm_release_gpio(struct platform_device *pdev); -int ep93xx_ide_acquire_gpio(struct platform_device *pdev); -void ep93xx_ide_release_gpio(struct platform_device *pdev); -int ep93xx_keypad_acquire_gpio(struct platform_device *pdev); -void ep93xx_keypad_release_gpio(struct platform_device *pdev); -int ep93xx_i2s_acquire(void); -void ep93xx_i2s_release(void); -#else -static inline int ep93xx_pwm_acquire_gpio(struct platform_device *pdev) { return 0; } -static inline void ep93xx_pwm_release_gpio(struct platform_device *pdev) {} -static inline int ep93xx_ide_acquire_gpio(struct platform_device *pdev) { return 0; } -static inline void ep93xx_ide_release_gpio(struct platform_device *pdev) {} -static inline int ep93xx_keypad_acquire_gpio(struct platform_device *pdev) { return 0; } -static inline void ep93xx_keypad_release_gpio(struct platform_device *pdev) {} -static inline int ep93xx_i2s_acquire(void) { return 0; } -static inline void ep93xx_i2s_release(void) {} -#endif - #if defined(CONFIG_ARCH_EP93XX) unsigned int ep93xx_chip_revision(void); #ifdef CONFIG_SOC_EP93XX