From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Wed, 27 Jan 2016 18:29:55 +0100 Subject: [PATCH RFC 06/11] clk: sunxi: factors: Consolidate get_factors parameters into a struct In-Reply-To: <1453727747-23307-7-git-send-email-wens@csie.org> References: <1453727747-23307-1-git-send-email-wens@csie.org> <1453727747-23307-7-git-send-email-wens@csie.org> Message-ID: <20160127172955.GK4317@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jan 25, 2016 at 09:15:42PM +0800, Chen-Yu Tsai wrote: > The .get_factors callback of factors_clk has 6 parameters. To extend > factors_clk in any way that requires adding parameters to .get_factors > would make that list even longer, not to mention changing all the > function declarations. > > Do this once now and consolidate all the parameters into a struct. > Also drop the space before function pointer arguments, since checkpatch > complains. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: