From patchwork Wed Apr 3 14:11:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 10883857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A2BB31390 for ; Wed, 3 Apr 2019 14:12:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 827D1289F4 for ; Wed, 3 Apr 2019 14:12:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76A5D28A02; Wed, 3 Apr 2019 14:12:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D473289FC for ; Wed, 3 Apr 2019 14:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tXXqT9BwuKZ8AWmqpMNrIk1DEOMSXZVfl8Y3013gv3s=; b=Xl6G/0IdVvnXtt /PGYip9jY9GYEJJvoaWOlviWaiSFyC65zMvyI3OU2I2ZheQpCoXAsreioz+8hqyrVDZOW30XZVEF5 CVaUUKxPcoYCxT8UtGj/1lTcUMMyRFBiDJsr26sZnWYqt+7+IFYI50XLd0b8LM2QO4t7uBPc/3+p1 NLYj6PxRg0mNRblHhM4bPpIM3SS/cKkOjtQwwEDZFOGB+5CO4qLXvWo1KCjvS/c6EQuGSM4iNIalj uUI5E9X//3RxF27m6wwq7Ow6rqRl0Tq9s43BO8ZE7Io2Sb+yUyOBhGtO06hvK1YXJeeEjWxi8Xa4P OrZ01WnCh1IJRXYzx3pQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBgcQ-0007UR-H4; Wed, 03 Apr 2019 14:11:58 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBgcI-0007HK-An for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 14:11:51 +0000 Received: from localhost (alyon-652-1-60-19.w109-213.abo.wanadoo.fr [109.213.83.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DD95C100018; Wed, 3 Apr 2019 14:11:42 +0000 (UTC) From: Alexandre Belloni To: Daniel Lezcano , Greg Kroah-Hartman Subject: [PATCH 02/12] misc: atmel_tclib: drop AVR32 support Date: Wed, 3 Apr 2019 16:11:10 +0200 Message-Id: <20190403141120.32754-3-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190403141120.32754-1-alexandre.belloni@bootlin.com> References: <20190403141120.32754-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_071150_518593_8CB2773D X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, Alexandre Belloni , Arnd Bergmann , Alexander Dahl , Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP AVR32 is gone from the kernel, remove its support from tclib. Signed-off-by: Alexandre Belloni --- drivers/misc/atmel_tclib.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index 194f774ab3a1..3af27ce7e514 100644 --- a/drivers/misc/atmel_tclib.c +++ b/drivers/misc/atmel_tclib.c @@ -17,18 +17,10 @@ * share individual timers between different drivers. */ -#if defined(CONFIG_AVR32) -/* AVR32 has these divide PBB */ -const u8 atmel_tc_divisors[5] = { 0, 4, 8, 16, 32, }; -EXPORT_SYMBOL(atmel_tc_divisors); - -#elif defined(CONFIG_ARCH_AT91) /* AT91 has these divide MCK */ const u8 atmel_tc_divisors[5] = { 2, 8, 32, 128, 0, }; EXPORT_SYMBOL(atmel_tc_divisors); -#endif - static DEFINE_SPINLOCK(tc_list_lock); static LIST_HEAD(tc_list);