From patchwork Sat Jul 20 00:04:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2830742 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7FA92C0319 for ; Sat, 20 Jul 2013 00:05:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0D67201C6 for ; Sat, 20 Jul 2013 00:05:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7956201F8 for ; Sat, 20 Jul 2013 00:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752928Ab3GTAFZ (ORCPT ); Fri, 19 Jul 2013 20:05:25 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:48803 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753218Ab3GTAFY (ORCPT ); Fri, 19 Jul 2013 20:05:24 -0400 Received: by mail-ee0-f49.google.com with SMTP id b57so2635551eek.36 for ; Fri, 19 Jul 2013 17:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=U6nDnXms6XJfMVIoUrXB/dSBEvZ2xjZvU8ioValKFSE=; b=J8blesWZxnll7cARripYnXt2WvP1ZaPhwbWXUDQS6RPm7w2wbsfrsnhTSgC1Y2zlTx DBQfXZ5yK3ZzR4x8DH1WTLm9+sP/S4jpqPrJRHfHMb6IE9gSEZkDNudnAWl1XBD/vtbc LKfwEETDmvP5eeZY7m11e+JGMA9Kl0vJAYPr7xRQ55ARr5+IIcJbpjsuBAVi6C2JAiNJ 2QYsuw2ZQ8GKVQC1X6k3Mhcuhi7MvTsfAu+nui0crakKPhX1KCt2iVJC30mJgZUUU7EL QN2jFzBaBd1W9ZeucKqNdZtWdxtoAi/qzS5LUYupuWcHL0/aW4um1IUIjeEAG5/8UBHB 5lzw== X-Received: by 10.14.87.4 with SMTP id x4mr17729114eee.121.1374278722891; Fri, 19 Jul 2013 17:05:22 -0700 (PDT) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id bj46sm31186249eeb.13.2013.07.19.17.05.20 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Jul 2013 17:05:22 -0700 (PDT) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, Kukjin Kim , Arnd Bergmann , Olof Johansson , Sylwester Nawrocki , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Mark Brown , Thierry Reding , Tomasz Figa Subject: [PATCH v4 17/20] ARM: SAMSUNG: Remove old PWM timer platform devices Date: Sat, 20 Jul 2013 02:04:30 +0200 Message-Id: <1374278673-25615-19-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1374278673-25615-1-git-send-email-tomasz.figa@gmail.com> References: <1374278673-25615-1-git-send-email-tomasz.figa@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes old Samsung PWM timer platform devices that are not used any more. Signed-off-by: Tomasz Figa --- arch/arm/plat-samsung/devs.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 290f63a..8ce0ac0 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -1098,24 +1098,6 @@ arch_initcall(s5p_pmu_init); /* PWM Timer */ #ifdef CONFIG_SAMSUNG_DEV_PWM - -#define DEFINE_S3C_TIMER(_tmr_no) \ - .name = "s3c24xx-pwm", \ - .id = _tmr_no, \ - -/* - * since we already have an static mapping for the timer, - * we do not bother setting any IO resource for the base. - */ - -struct platform_device s3c_device_timer[] = { - [0] = { DEFINE_S3C_TIMER(0) }, - [1] = { DEFINE_S3C_TIMER(1) }, - [2] = { DEFINE_S3C_TIMER(2) }, - [3] = { DEFINE_S3C_TIMER(3) }, - [4] = { DEFINE_S3C_TIMER(4) }, -}; - static struct resource samsung_pwm_resource[] = { DEFINE_RES_MEM(SAMSUNG_PA_TIMER, SZ_4K), };