From patchwork Thu Jun 20 22:13:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2758941 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 C684AC0AB1 for ; Thu, 20 Jun 2013 22:14:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE988201FC for ; Thu, 20 Jun 2013 22:14:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08CB120220 for ; Thu, 20 Jun 2013 22:14:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030276Ab3FTWOc (ORCPT ); Thu, 20 Jun 2013 18:14:32 -0400 Received: from mail-bk0-f48.google.com ([209.85.214.48]:58801 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030247Ab3FTWOb (ORCPT ); Thu, 20 Jun 2013 18:14:31 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf17so3081837bkc.21 for ; Thu, 20 Jun 2013 15:14:30 -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=H1tvqx8QR6bSKOhFUPveUm+mPmgUPcGThrZ5cFZFEX4=; b=H83ZkT0vZBLdJl+lYcyUCoaSiZ0spizuBiaY6R2Bjvg6bhtvwrPSmdPuos3mq9CAqZ szjHyuMwChZIQGUNqHMbWIfbDoFTNYHBUP/S8FJtzRUkhbHpesGQD9U34RZw061YMU11 qycVCaSNi7WEiO2hUQJ1rU/znkbq++fRDtkdwr+xdx8VPzpJ2AB04l+DTQYtzGmMI5UF +uF5vHqvhwbI0SmtAzbk+ys5SW9XPyA+yQQZXIuTTOB7MknFRKnIu9wGRODbMgtzSD+N ESORAEpKCcV3IflYhvNhZbcmptIEvCfOTzY8SWD4CULCM4eRJGCGuzHXpyS7GZMdxY2k a2pg== X-Received: by 10.204.189.4 with SMTP id dc4mr1353439bkb.2.1371766470475; Thu, 20 Jun 2013 15:14:30 -0700 (PDT) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id fc7sm864232bkc.3.2013.06.20.15.14.28 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 15:14:29 -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 , Thomas Abraham , Thierry Reding , Tomasz Figa Subject: [PATCH v2 15/18] ARM: SAMSUNG: Remove old PWM timer platform devices Date: Fri, 21 Jun 2013 00:13:00 +0200 Message-Id: <1371766383-29077-16-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1371766383-29077-1-git-send-email-tomasz.figa@gmail.com> References: <1371766383-29077-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=-8.1 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), };