From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C67441B87D7; Sat, 8 Mar 2025 13:33:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741440838; cv=none; b=UNk4LYd6FLoCK0pPhHUHm3hRdORS7SpOdsg7JOdcf9HTWeLl6j/6YKLIG1PGI9iOB/PyIc1C59ilqVHaWzAd+NujWIWGoW0kwOhaMo/bubxrFuQztaP0rdXsbrCBVSg87f3TTy7YHiqHpY4Uz2xiMmZziiT8R74pieVks3wO7Fk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741440838; c=relaxed/simple; bh=HeYm3/t6U/TxiBbqUq5YiUiybfnvy0dnybaj4ECl29E=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MwfgUR40NDZ4s3WyMY/lm7Cg54ZmqdF7aBC4D7Dr4Qb6OKdwHEAg0OY5D7sRN/a1q8iuQDM5yMfSCmLuohshuZDIt04FWFJI6IsDiQhidLFUkiEfrBoEEKwdPnYuA5WJwLSXGnfu2Kn9QF18nFj+TQyRUBNWaX1I2AaoUhHjinY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bovy6NMX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bovy6NMX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E19CDC4CEE0; Sat, 8 Mar 2025 13:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741440838; bh=HeYm3/t6U/TxiBbqUq5YiUiybfnvy0dnybaj4ECl29E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bovy6NMXpZw6+tnjtb/fZ5GN8u7RYMRrWgn16lhWRTUxei0v2C2UdrxpL6TG018GH Ys9s/Z4LUz68VzBXw0kUG7iu6JDJKyZ3haw74FBAgo0Cn8OW69kBSSfqqToxT+w3Zd hicTNirMGFuYiMC3RKQVpt2Y2QRp7ybdJRR46Rh5+DRPlTHfXCKvnfQONsGjPZPDI/ OmPg3NYrHrsoXlzZo+nk3jikHnr4k0zQZvYpfDPvv3rPzwpsQ2Ip2uJBWmoUXly9t+ Avfz9rqcNn1X7ixIojh7rL9+yDYEZPel62MfuK+LhU6bYLDj77qfUc/rYDSYkItlyc W0uqzThezYGag== Date: Sat, 8 Mar 2025 13:33:48 +0000 From: Jonathan Cameron To: Jonathan Santos Cc: , , , , Sergiu Cuciurean , , , , , , , , , , , , , Subject: Re: [PATCH v4 10/17] iio: adc: ad7768-1: Move buffer allocation to a separate function Message-ID: <20250308133335.68b49c6f@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 6 Mar 2025 18:02:46 -0300 Jonathan Santos wrote: > From: Sergiu Cuciurean > > This change moves the buffer allocation in a separate function, making > space for adding another type of iio buffer if needed. Moving the trigger allocation etc as well. I'd mention that. Otherwise this looks fine. > > Reviewed-by: David Lechner > Signed-off-by: Sergiu Cuciurean > Signed-off-by: Jonathan Santos