[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160130003409.GJ12841@codeaurora.org>
Date: Fri, 29 Jan 2016 16:34:09 -0800
From: Stephen Boyd <sboyd@...eaurora.org>
To: Andi Shyti <andi.shyti@...sung.com>
Cc: linux-samsung-soc@...r.kernel.org,
Sangbeom Kim <sbkim73@...sung.com>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
Andi Shyti <andi@...zian.org>,
Yadwinder Singh Brar <yadi.brar01@...il.com>,
Jaehoon Chung <jh80.chung@...sung.com>
Subject: Re: [PATCH v3 3/4] clk: s2mps11: remove redundant static variables
declaration
On 01/20, Andi Shyti wrote:
> The clk_table and clk_data are declared static. The clk_table
> contains the three clock data stractures belonging to the s2mps11
> driver. In the probe function it gets stored into clk_data.
>
> Remove clk_table and refer directly to clk_data.
>
> clk_data, itself, is also declared static. Declare locally it
> and allocate it inside the probe function, as it is not used
> anywhere else.
>
> Signed-off-by: Andi Shyti <andi.shyti@...sung.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists