Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbbBLTzY (ORCPT ); Thu, 12 Feb 2015 14:55:24 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:46002 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751703AbbBLTzS (ORCPT ); Thu, 12 Feb 2015 14:55:18 -0500 Message-ID: <54DD0524.4060503@codeaurora.org> Date: Thu, 12 Feb 2015 11:55:16 -0800 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Javier Martinez Canillas , Mike Turquette CC: Tomeu Vizoso , =?windows-1252?Q?Emilio_?= =?windows-1252?Q?L=F3pez?= , Peter De Schrijver , Robert Jarzmik , Giuseppe Cavallaro , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] clk: Add __clk_hw_set_clk helper function References: <1423749510-14525-1-git-send-email-javier.martinez@collabora.co.uk> <1423749510-14525-3-git-send-email-javier.martinez@collabora.co.uk> In-Reply-To: <1423749510-14525-3-git-send-email-javier.martinez@collabora.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 26 On 02/12/15 05:58, Javier Martinez Canillas wrote: > After the clk API change to return a per-user clock instance, both the > struct clk_core and struct clk pointers from the hw clock needs to be > assigned to clock that share the same state. > > In the future the struct clk_core will be removed and this is going to s/clk_core/clk/? > change again so to avoid having to change the assignments twice in all > the drivers, add a helper function to have an indirection level. > > Signed-off-by: Javier Martinez Canillas > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/