From patchwork Wed Oct 10 11:42:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 12101 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0CD321A55A1 for ; Wed, 10 Oct 2012 11:43:28 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id A6B95A19065 for ; Wed, 10 Oct 2012 11:43:27 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so635489iej.11 for ; Wed, 10 Oct 2012 04:43:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=EYQKsGuuJCBN1bc5TmaEVSsTSir3eKXlnKszzO/tMPI=; b=o7tt3n3jQOnRuavofm91WGbALyIIb64D02v5aWZf9GhHzLB1aPAh5T2S9huW3RqiP4 M5nsNeqvKCHDM+pFb2y0ZaDlFArIq5WH41PenM+Q9AHmmcfdHge4AbC0gKhZ1HJvf76j 4iST+xEHhTsw8OUX9+vzu8nEf3ON+Ygx7x5iLhr+shEEFI58p3RUiF3ZvJJrMYoIk57m XWSzqMPuaQLtWZ4/RBngKuDo4zSX6p4o8PmU9xp14HulJ/XLjkptYyFERqyG8z5d1I2X VRRaxIYdAcn81cMUbkkQTk4sA3mkIIWjKXmNxH1qvk/bfy4OjKmz89j3JrBAJZSNp4yq 97OA== Received: by 10.50.159.194 with SMTP id xe2mr4807183igb.62.1349869407392; Wed, 10 Oct 2012 04:43:27 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp209155igt; Wed, 10 Oct 2012 04:43:26 -0700 (PDT) Received: by 10.14.209.129 with SMTP id s1mr32411643eeo.24.1349869406105; Wed, 10 Oct 2012 04:43:26 -0700 (PDT) Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) by mx.google.com with SMTP id v4si619293eel.92.2012.10.10.04.43.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 04:43:26 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) client-ip=207.126.144.113; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) smtp.mail=ulf.hansson@stericsson.com Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKUHVfUJyUPlYcUKmQ+enVY46U9rLtETGu@postini.com; Wed, 10 Oct 2012 11:43:25 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 32CD819C; Wed, 10 Oct 2012 11:42:39 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8BBA429B3; Wed, 10 Oct 2012 11:42:38 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 41206A8093; Wed, 10 Oct 2012 13:42:33 +0200 (CEST) Received: from steludxu1397.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 10 Oct 2012 13:42:37 +0200 From: Ulf Hansson To: , Mike Turquette , Mike Turquette , Samuel Ortiz , "Rafael J. Wysocki" Cc: , , Linus Walleij , Lee Jones , Philippe Begnic , Rickard Andersson , Jonas Aberg , Vincent Guittot , Ulf Hansson Subject: [PATCH 1/8] ARM: ux500: Remove cpufreq platform device Date: Wed, 10 Oct 2012 13:42:22 +0200 Message-ID: <1349869349-8070-2-git-send-email-ulf.hansson@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349869349-8070-1-git-send-email-ulf.hansson@stericsson.com> References: <1349869349-8070-1-git-send-email-ulf.hansson@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlbkYPDtfQEFSoYjNaf3G4kmrte9zXr1lJ+WhYUd1yCwbUQDAXma0xo1SeS35yEBoOR5Uqh From: Ulf Hansson The cpufreq device is already added from the prcmu driver as a mfd child device. Signed-off-by: Ulf Hansson Reviewed-by: Linus Walleij Acked-by: Jonas Aaberg --- arch/arm/mach-ux500/cpu-db8500.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index bcdfe6b..41b2779 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -214,9 +214,6 @@ struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500) db8500_add_gpios(parent); db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); - platform_device_register_data(parent, - "cpufreq-u8500", -1, NULL, 0); - for (i = 0; i < ARRAY_SIZE(platform_devs); i++) platform_devs[i]->dev.parent = parent; @@ -236,9 +233,6 @@ struct device * __init u8500_of_init_devices(void) db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); - platform_device_register_data(parent, - "cpufreq-u8500", -1, NULL, 0); - u8500_dma40_device.dev.parent = parent; /*