From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97B3D369984 for ; Mon, 9 Mar 2026 07:47:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773042441; cv=none; b=hS+r0BjOvnGZdydzu/9P0WWutAR0i6vSpIfc6INqdyLw8emmiU0elx18WpejpNEMHwUF1JYDNpEjtd/fbT5v3kKEL7aHuUup9PTv+hxu+8RUaCdCgUTNalc66QjHdf5bOGz9G4dkX1GOmLuaYTGpEKZBTztarSYAED/4X6Wwv3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773042441; c=relaxed/simple; bh=BXuUUltBgmmuRDkCjYuxMVYLeRAOwKV5JNBGmza1Phk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=HA1PktimnD1UtFbuVvNZaxg7PAHBHawFoBZx80qHTRgaMMcDxFeZ3PXtM5bMuoq2OkQWYaPSj2FnznUqG+iD8nAQCgpJE6pHDbuyRREynzvn3pLNOM1lWRO4jKd64ccPN9wyH6xi+1uM1qOjxZlfKtVjfXUnBsJQdGhx3P7PXyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vzVKZ-0007Pg-UU; Mon, 09 Mar 2026 08:47:11 +0100 Received: from lupine.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::4e] helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzVKX-004UjK-16; Mon, 09 Mar 2026 08:47:10 +0100 Received: from pza by lupine with local (Exim 4.98.2) (envelope-from ) id 1vzVKY-000000001WY-2ehX; Mon, 09 Mar 2026 08:47:10 +0100 Message-ID: <4bac6ed8d9c083de40f212d3e47a513789dcc7e0.camel@pengutronix.de> Subject: Re: [PATCH v3 06/14] reset: fold ida_alloc() into reset_create_gpio_aux_device() From: Philipp Zabel To: Bartosz Golaszewski , Krzysztof Kozlowski , Jonathan Corbet , Shuah Khan Cc: linux-kernel@vger.kernel.org, brgl@kernel.org, linux-doc@vger.kernel.org Date: Mon, 09 Mar 2026 08:47:10 +0100 In-Reply-To: <20260306-reset-core-refactor-v3-6-599349522876@oss.qualcomm.com> References: <20260306-reset-core-refactor-v3-0-599349522876@oss.qualcomm.com> <20260306-reset-core-refactor-v3-6-599349522876@oss.qualcomm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-0+deb13u1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Fr, 2026-03-06 at 18:22 +0100, Bartosz Golaszewski wrote: > We don't need to know the IDA value outside of the function that creates > the auxiliary reset-gpio device. Simplify error handling by folding it > into reset_create_gpio_aux_device(). >=20 > Signed-off-by: Bartosz Golaszewski Reviewed-by: Philipp Zabel regards Philipp