From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dinh Nguyen Date: Mon, 16 Apr 2018 15:38:14 -0500 Subject: [U-Boot] [PATCHv1 14/14] reset: remove request and free functions In-Reply-To: References: <1523731900-4675-1-git-send-email-dinguyen@kernel.org> <1523731900-4675-15-git-send-email-dinguyen@kernel.org> Message-ID: <41627c73-298d-3d92-ad59-805bba28f3d7@kernel.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/16/2018 01:43 PM, Simon Glass wrote: > +Stephen for comment > > Hi Dinh, > > On 14 April 2018 at 12:51, Dinh Nguyen wrote: >> The request and free reset functions are not really used for any useful >> purpose but for debugging. We can safely remove them. > > The API is set to line up with clocks. I think in general we do want > to be able to request and free these devices, just as we do for GPIOs. > What is the goal of removing these methods? > It was a suggestion from Marek. I just didn't see any useful code implemented in any of the request/free functions. Dinh