From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 422D3C433FE for ; Fri, 21 Oct 2022 15:54:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbiJUPyh (ORCPT ); Fri, 21 Oct 2022 11:54:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230039AbiJUPyc (ORCPT ); Fri, 21 Oct 2022 11:54:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 806C727D4D8 for ; Fri, 21 Oct 2022 08:54:17 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 6A56CB82A47 for ; Fri, 21 Oct 2022 15:54:15 +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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.29.2