From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803AbbHEOIV (ORCPT ); Wed, 5 Aug 2015 10:08:21 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:39313 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752240AbbHEOIT (ORCPT ); Wed, 5 Aug 2015 10:08:19 -0400 Message-ID: <55C218C8.1070906@ti.com> Date: Wed, 5 Aug 2015 19:38:08 +0530 From: Kishon Vijay Abraham I User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: CC: , , , , , , , Subject: Re: [PATCH 1/7] phy: ti-pipe3: cleanup ti_pipe3_probe() References: <1438701646-7876-1-git-send-email-kishon@ti.com> <1438701646-7876-2-git-send-email-kishon@ti.com> <20150804160028.GG23659@saruman.tx.rr.com> In-Reply-To: <20150804160028.GG23659@saruman.tx.rr.com> 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 Hi, On Tuesday 04 August 2015 09:30 PM, Felipe Balbi wrote: > On Tue, Aug 04, 2015 at 08:50:40PM +0530, Kishon Vijay Abraham I wrote: >> No functional change. Add separate functions for pll, >> clocks and syscon to make ti_pipe3_probe clean. >> >> Signed-off-by: Kishon Vijay Abraham I > > I think this needs to be splitted into smaller patches. yeah sure. Thanks Kishon > > Seems like the very first patch would be to introduce a local struct > device pointer to be used. Than add each and every new function on their > own patch. This will help big time making your refactoring a lot clearer > and, should anything go wrong, we can atomically revert a specific > change, instead of loosing the entire refactor.