From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754773AbcFTMKZ (ORCPT ); Mon, 20 Jun 2016 08:10:25 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:58831 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754712AbcFTMJO (ORCPT ); Mon, 20 Jun 2016 08:09:14 -0400 Message-ID: <1466424475.6070.43.camel@pengutronix.de> Subject: Re: [PATCH 1/7] reset: Reorder inline reset_control_get*() wrappers From: Philipp Zabel To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, maxime.coquelin@st.com, srinivas.kandagatla@gmail.com, kishon@ti.com, balbi@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Date: Mon, 20 Jun 2016 14:07:55 +0200 In-Reply-To: <20160606155655.10860-2-lee.jones@linaro.org> References: <20160606155655.10860-1-lee.jones@linaro.org> <20160606155655.10860-2-lee.jones@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:96de:80ff:fec2:9969 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 06.06.2016, 16:56 +0100 schrieb Lee Jones: > We're about to split the current API into two, where consumers will > be forced to be explicit when requesting reset lines. The choice > will be to either the call the *_exclusive or *_shared variant > depending on whether they can actually tolorate not being asserted > when that request is made. > > The new API will look like this once reorded and complete: > > reset_control_get_exclusive() > reset_control_get_shared() > reset_control_get_optional_exclusive() > reset_control_get_optional_shared() > of_reset_control_get_exclusive() > of_reset_control_get_shared() > of_reset_control_get_exclusive_by_index() > of_reset_control_get_shared_by_index() > devm_reset_control_get_exclusive() > devm_reset_control_get_shared() > devm_reset_control_get_optional_exclusive() > devm_reset_control_get_optional_shared() > devm_reset_control_get_exclusive_by_index() > devm_reset_control_get_shared_by_index() > > Signed-off-by: Lee Jones I have applied patches 1-5 to my reset/next branch. regards Philipp