From patchwork Fri Oct 21 15:49:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13015029 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2215FA373E for ; Fri, 21 Oct 2022 15:55:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dRv95Q45dpL10UYz1egPRAAuWf1TwJDwgqArPS6+2qk=; b=wylJuPNOwEaUqI xFWOhh779dlOXnYRy2WwXlWHOWTuPfYMVAqEbenSKGEB3neQW0zkgs7VSzV61taMIxMovz8GWEsOC K44i16+Tes7YmDZPqtmWlOxMeHBKhQsw+7PNC8K3SUrqF2R44ZX6h1XoCFb/VB4cYn9H86ajkr9zG VbVsB0hCzFZbI+2yBe+4wi6iEE7j020Xn8v8Apmgk/tb0rGr7gzfZ42o5Gr7+tp5CUz/1gbfVZ9Kw RY6SX+lp7ruUfL2yz3+0+jq0UZBhoSI+hEkON75/D83JOK/fzfYeKR9cc2cpMT+BlXkn83SZLS716 uPE8CbDd6MQBlxxDh9yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oluLi-008lER-Ev; Fri, 21 Oct 2022 15:54:18 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oluLf-008lDC-5q for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2022 15:54:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AE91461B5D; Fri, 21 Oct 2022 15:54:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2BF1C433D6; Fri, 21 Oct 2022 15:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666367654; bh=YIHBEzPM9Cv9Y2LCFh9IV1aRzulaJHiC6d8jP3aN1Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RbX06NgPeDyB+ufxvzRhFAo+EHJM4scQeiYnN/uCSMJ6PEcGf9i2rk6sQOtrE0xlC LPFLrkn5qFcvRCLLB0wK+E2O2aG4Y0svXdW1x1m8po8IZul12ist1Y2L2I347TiMn5 rk8iynnm3bdoS3gmyjOqjWYzelf9NKP1BLoIHvuSEq6r1Rxnu+1fwv6IOeancbOT99 HyVhdu5qSzDBI3xXmFuuAZjJrvci7qg1s3m0rKaMlQHUPRvgmhi3O+lRi5TIchl+Qt j3O95PfdfqU/6ERLNpaI04GbROfLV1vB6jz/NFXzCBu35fIx9jc6zLdhZQpBpzdNMi J1iZv7qeI6n6w== From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org, Russell King , Linus Walleij , Lubomir Rintel Cc: linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 03/11] ARM: sa1100: remove irda references Date: Fri, 21 Oct 2022 17:49:33 +0200 Message-Id: <20221021155000.4108406-4-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20221021155000.4108406-1-arnd@kernel.org> References: <20221021155000.4108406-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221021_085415_302618_917BB64E X-CRM114-Status: GOOD ( 14.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann IRDA support is long gone, so there is no need to declare the platform device structure. See-also: d64c2a76123f ("staging: irda: remove the irda network stack and drivers") Signed-off-by: Arnd Bergmann --- arch/arm/mach-sa1100/assabet.c | 1 - arch/arm/mach-sa1100/collie.c | 1 - arch/arm/mach-sa1100/h3600.c | 1 - include/linux/platform_data/irda-sa11x0.h | 17 ----------------- 4 files changed, 20 deletions(-) delete mode 100644 include/linux/platform_data/irda-sa11x0.h diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 9919e0f32c4b..a71bdc634876 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -38,7 +38,6 @@ #include #include -#include #include #include #include diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 14c33ed05318..92c9ea7d7d25 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -44,7 +44,6 @@ #include #include #include -#include #include #include diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index baf529117b26..05aa707e239e 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c @@ -14,7 +14,6 @@ #include #include -#include #include #include diff --git a/include/linux/platform_data/irda-sa11x0.h b/include/linux/platform_data/irda-sa11x0.h deleted file mode 100644 index 7db59c917575..000000000000 --- a/include/linux/platform_data/irda-sa11x0.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/mach/irda.h - * - * Copyright (C) 2004 Russell King. - */ -#ifndef __ASM_ARM_MACH_IRDA_H -#define __ASM_ARM_MACH_IRDA_H - -struct irda_platform_data { - int (*startup)(struct device *); - void (*shutdown)(struct device *); - int (*set_power)(struct device *, unsigned int state); - void (*set_speed)(struct device *, unsigned int speed); -}; - -#endif