From patchwork Thu Jun 5 05:32:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4303341 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 66C9A9F326 for ; Thu, 5 Jun 2014 05:30:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90946201F7 for ; Thu, 5 Jun 2014 05:30:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4D8D201B9 for ; Thu, 5 Jun 2014 05:30:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752042AbaFEFaK (ORCPT ); Thu, 5 Jun 2014 01:30:10 -0400 Received: from mail-pb0-f47.google.com ([209.85.160.47]:49150 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751676AbaFEFaJ (ORCPT ); Thu, 5 Jun 2014 01:30:09 -0400 Received: by mail-pb0-f47.google.com with SMTP id rp16so584211pbb.6 for ; Wed, 04 Jun 2014 22:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=6M9lTQqjbnAdMwc28kcpGHL8JaCBNG8ykqvyotnS81M=; b=ZSaTgPBnnVsAwBtpbRDnVgqqzSgKd2wSTe21HC/bQ8jpccV3HynwaW+aFt4jzU6rJz hVesEhrbbfrPkobfM5f9IwRoqCaMpbLfhABLswLAv1hg98JdnSuSfDk6y+yoZ9fArVwE BNqHqIuCGTHQVywMAKlBy1L3AEeOGjG8u3xmTX5ZdFP3H4KHYNH/iDYcvGCGT1dwj06W sbEpRCpMwZiAxjAV5toCLzKymgKmP2Qz0bkC62M0b/0y3Gcw9/7j2K+dtE4Alcc2C2BN 8qMIT5urrNyXMnY29iOKAOvhH9NLI/CxEHyIcO4AeGYGNlXD7WQ6Ra+oQwLV6a/eG2Am OY2g== X-Received: by 10.68.237.133 with SMTP id vc5mr73198356pbc.92.1401946209093; Wed, 04 Jun 2014 22:30:09 -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 ko10sm17841840pbd.52.2014.06.04.22.30.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jun 2014 22:30:08 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Thu, 05 Jun 2014 14:32:12 +0900 Message-Id: <20140605053212.19066.45533.sendpatchset@w520> In-Reply-To: <20140605053149.19066.90593.sendpatchset@w520> References: <20140605053149.19066.90593.sendpatchset@w520> Subject: [PATCH 03/03] ARM: shmobile: Get rid of redundant EMEV2 mach callbacks 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.4 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 Update the EMEV2 specific SoC callbacks to get rid of the calls to of_clk_init() and of_platform_populate(). Those calls are by default executed by the functions in the shared ARM code in case the SoC specific mach callbacks are NULL. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-emev2.c | 10 +--------- 1 file changed, 1 insertion(+), 9 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 --- 0003/arch/arm/mach-shmobile/setup-emev2.c +++ work/arch/arm/mach-shmobile/setup-emev2.c 2014-05-29 17:15:54.000000000 +0900 @@ -16,10 +16,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include #include -#include +#include #include #include #include @@ -42,12 +41,6 @@ static void __init emev2_map_io(void) iotable_init(emev2_io_desc, ARRAY_SIZE(emev2_io_desc)); } -static void __init emev2_add_standard_devices_dt(void) -{ - of_clk_init(NULL); - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -} - static const char *emev2_boards_compat_dt[] __initconst = { "renesas,emev2", NULL, @@ -59,7 +52,6 @@ DT_MACHINE_START(EMEV2_DT, "Generic Emma .smp = smp_ops(emev2_smp_ops), .map_io = emev2_map_io, .init_early = shmobile_init_delay, - .init_machine = emev2_add_standard_devices_dt, .init_late = shmobile_init_late, .dt_compat = emev2_boards_compat_dt, MACHINE_END