From patchwork Wed Aug 20 13:07:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4751141 Return-Path: X-Original-To: patchwork-linux-sh@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 55789C0338 for ; Wed, 20 Aug 2014 13:05:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B75312013A for ; Wed, 20 Aug 2014 13:05:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A0942012F for ; Wed, 20 Aug 2014 13:04:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbaHTNE5 (ORCPT ); Wed, 20 Aug 2014 09:04:57 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:61388 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbaHTNE5 (ORCPT ); Wed, 20 Aug 2014 09:04:57 -0400 Received: by mail-pd0-f177.google.com with SMTP id p10so11716004pdj.22 for ; Wed, 20 Aug 2014 06:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=nZVatfyuFtUXER8yAlrGLrB2eroL+Tmor7+VwXB0C38=; b=kRwSz+vb+PclXe8RxOG/oXc+Mxc73OZ4EMbfJQzrOhabAGfviyL9FVuHI6e3dVfLHt cLsEOAHz+l1KtCJQjVa9/se7VL+oBYgLqk9YiD6gvSSMMAA9k6WA6gZZTY46xzMcPf/Q QVMRnbhfkmYuq9N52qyOuDv/pWjEXLhi73Gn/CpvEnsMXD1Lxe6AtuO1Bx9J6bGLLJW0 f6WEH/Ym4qDuU4ryBquXqXsLJEmo8TPQlvrI/D5uq5pXFK9hYi8tQYrkWHG+K2ZClVwp n7P26ioVehpyUdPeVNzwrRJ8CBlFuXMKhUX02D7D5mlofP9B+BJtsKWvjGDNfEWFUKEI mIog== X-Received: by 10.70.95.34 with SMTP id dh2mr15008527pdb.119.1408539893915; Wed, 20 Aug 2014 06:04:53 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id f12sm80111346pat.23.2014.08.20.06.04.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 06:04:52 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Wed, 20 Aug 2014 22:07:07 +0900 Message-Id: <20140820130707.350.39869.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: sh73a0: Remove duplicate CPUFreq bits Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 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 From: Magnus Damm The CPUFreq platform device is already registered by shmobile_init_late(), so get rid of sh73a0 specific bits. Signed-off-by: Magnus Damm --- Built of top of renesas-devel-20140820-v3.17-rc1 arch/arm/mach-shmobile/setup-sh73a0.c | 5 ----- 1 file changed, 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/mach-shmobile/setup-sh73a0.c +++ work/arch/arm/mach-shmobile/setup-sh73a0.c 2014-08-19 23:06:54.000000000 +0900 @@ -775,17 +775,12 @@ void __init sh73a0_add_early_devices(voi void __init sh73a0_add_standard_devices_dt(void) { - struct platform_device_info devinfo = { .name = "cpufreq-cpu0", .id = -1, }; - /* clocks are setup late during boot in the case of DT */ sh73a0_clock_init(); platform_add_devices(sh73a0_devices_dt, ARRAY_SIZE(sh73a0_devices_dt)); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); - - /* Instantiate cpufreq-cpu0 */ - platform_device_register_full(&devinfo); } static const char *sh73a0_boards_compat_dt[] __initdata = {