From patchwork Mon May 25 08:10:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 25778 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4P8DM2p019924 for ; Mon, 25 May 2009 08:13:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136AbZEYINw (ORCPT ); Mon, 25 May 2009 04:13:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752163AbZEYINw (ORCPT ); Mon, 25 May 2009 04:13:52 -0400 Received: from rv-out-0506.google.com ([209.85.198.236]:48692 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752136AbZEYINv (ORCPT ); Mon, 25 May 2009 04:13:51 -0400 Received: by rv-out-0506.google.com with SMTP id f9so990007rvb.1 for ; Mon, 25 May 2009 01:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=ItF8I+B74gOYl1M8pbOGgoi3S7YHC/lMbmr9qCGWQN0=; b=etu0Vh26gS/qo9FsKzvG/CXazl1tbLXF7wAYt7mt2o9jony8my3tJ5Dgz4h16XIA01 5YHnxS3nkkf4XcQDr7SyRXXQ713yTVho8Ng5rehvl3cuNbrfEbVsEVRq687+9YMv0QUu g8ahosszJiWvNkYVHiVSaMDKE9cQDr0Dxf/KU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=eaVKHibKBjlpUdvMxHVxwn+EGT9GHsucjy9yFD6BYo1sj4zQkNXFGS6wrIPVtqvLg0 4oIxE8d0LK2oAbLa2qrwmfT73saFYzhJv6Z9BLluf4DXn5sgiPKkR3ozQspL36JglmC9 I2kbMEuapNBHbPEynPFJFE7bcLKhCCHbnW1I0= Received: by 10.140.126.19 with SMTP id y19mr2529507rvc.115.1243239233296; Mon, 25 May 2009 01:13:53 -0700 (PDT) Received: from rx1.opensource.se (mailhost.igel.co.jp [219.106.231.130]) by mx.google.com with ESMTPS id b8sm18679641rvf.54.2009.05.25.01.13.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 May 2009 01:13:52 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Mon, 25 May 2009 17:10:45 +0900 Message-Id: <20090525081045.7893.62851.sendpatchset@rx1.opensource.se> In-Reply-To: <20090525081011.7893.47950.sendpatchset@rx1.opensource.se> References: <20090525081011.7893.47950.sendpatchset@rx1.opensource.se> Subject: [PATCH 04/04] sh: remove clk_ops->build_rate_table() Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm This patch removes the ->build_rate_table() callback, ->recalc() may instead be used for this purpose. Signed-off-by: Magnus Damm --- For the clkfwk topic branch. arch/sh/include/asm/clock.h | 1 - arch/sh/kernel/cpu/clock.c | 2 -- 2 files changed, 3 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/sh/include/asm/clock.h +++ work/arch/sh/include/asm/clock.h 2009-05-25 16:23:49.000000000 +0900 @@ -16,7 +16,6 @@ struct clk_ops { int (*set_rate)(struct clk *clk, unsigned long rate, int algo_id); int (*set_parent)(struct clk *clk, struct clk *parent); long (*round_rate)(struct clk *clk, unsigned long rate); - void (*build_rate_table)(struct clk *clk); }; struct clk { --- 0003/arch/sh/kernel/cpu/clock.c +++ work/arch/sh/kernel/cpu/clock.c 2009-05-25 16:23:35.000000000 +0900 @@ -138,8 +138,6 @@ void propagate_rate(struct clk *tclk) list_for_each_entry(clkp, &tclk->children, sibling) { if (clkp->ops && clkp->ops->recalc) clkp->rate = clkp->ops->recalc(clkp); - if (clkp->ops && clkp->ops->build_rate_table) - clkp->ops->build_rate_table(clkp); propagate_rate(clkp); }