Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp222850lqp; Tue, 11 Jun 2024 02:30:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXs4KtLeaixbVjeCsaJPRpUDQDabMW3Oc1NsizmsEhMfUbcbZ59xzXPek8kwoBa1eDmjODx36hQlvNzuLB4TycS3p5he84cIyKFcbNnEw== X-Google-Smtp-Source: AGHT+IGC29OfecDdJzkrfzZAjNdtXlj+AkzXpFmEri3QXal3foSUI5YL4nhtNHCDy22bEDCjN1Q/ X-Received: by 2002:a17:90a:ea0f:b0:2c2:cefc:abea with SMTP id 98e67ed59e1d1-2c2cefcbb78mr8270004a91.32.1718098230446; Tue, 11 Jun 2024 02:30:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718098230; cv=pass; d=google.com; s=arc-20160816; b=pFe2MyVnGDGRhYPSDAVOZhqGhuIhb41+lAVpL3OCZrF3kReiQc6eQWm8f/dPVJtGA3 kgwfSdyx8o0m3F0h+W2Si6FcPS/OJif6t37YvLCObGay7JTJJApxkwzGznfDlSHuIWxn zxhZWjiY2a+TlD+Q7qegBeKiWtk0YxqkbuqOZx+nPaIa5qUgU1iFmGtJqS+rgvFAxPO5 oalhfC4orROQngqStoCSBp8cQkFlm8bBo/wy06jYmPVE7BoXXhkYIFs0LUk1oW1rwUcX WBb/poUdTAShs8fXWp6O43AYHzMwTd+jRgQDnat5FR0kO4V3xztTlYVKs/PxsOHo6ikz e8tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=fta3eaWJ2teFy38tCw6loz+bdsnwvfr48UgRw05OSpk=; fh=3PtFj3he3IvkfEbBnnskorlCWg9tAkYk7R8iYXGo/Dk=; b=qPWKbGwVYqJ8RQ04++7uWh4PAxClnE0aTN8U7HrMJthakqHZAeQGYZxYHbYocSAVVR btMu4tei1VX6ruAVLDsalQ3IIadFR4eiOIut5AEWHNpyuYa314sD6myLzc4GFpcD6i2G CfMmb49cpmg+c6aB74uzQV1fCY6SeUGSuX2jqDMnyVyldFLYYQoeMYE1b9QEYcOq0JOM L4HZsNdG3LSsu06mS13cqjrTbZhaQZOpYTGNdJMix7oB8aFum6I82qQhjEULQ1ZAQULc aDknGnVFPo1YgUwfwd6rm702Zfy/Sz4KLNVl2O+9fUQWyq5/GQJ40ueR20xJ7MWEAqml 69Pg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kdTTWjAW; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-209541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c30a66ebb5si3133169a91.77.2024.06.11.02.30.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kdTTWjAW; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-209541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A192FB27298 for ; Tue, 11 Jun 2024 09:07:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE743176252; Tue, 11 Jun 2024 09:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kdTTWjAW" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E4F479C8; Tue, 11 Jun 2024 09:07:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718096841; cv=none; b=KRe5gm79chGnQOwkFuvsgto77KJoLE5qYaEYKo8NGwVOWXsira2FE3LXkHfKHW7bLba5Sbbw7DyuGU7RsnBWkRIvIhfC0oZE4akCs4kXqIpLd6qrMprdAwGMh8PNPak1i5zhfLmsM4YPIwwpc/G25MOAEibuW2Sxn5dSmMc5uoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718096841; c=relaxed/simple; bh=fta3eaWJ2teFy38tCw6loz+bdsnwvfr48UgRw05OSpk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=OaSoAqkMm3vUd9X4Rn2fp4+BJXl1I96qyJ1j6lvWKqGqA6FtQaMbWW7sHh3R9BYaFxAJlh9JGOITwGPRg83t5BpUsLBcoj6PUm1g5oxbnvIWDCtYQM7auU+jqVHa3qo7QjZZXSkMMueAfq3G2IqD1QSvlfRdgd0Jn3d3NN6CeOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kdTTWjAW; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-57a52dfd081so963180a12.2; Tue, 11 Jun 2024 02:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718096838; x=1718701638; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=fta3eaWJ2teFy38tCw6loz+bdsnwvfr48UgRw05OSpk=; b=kdTTWjAWBmHnAOT9GgQrJHQq5MbCkdKX0yfOy2h0EVCADSLCj7gzJvTjgczddy3xgK +jY3nK52aaWyWhoH+vQhCGYXHPqYjdCiz32eF0/wn3dNEFgPNGtzOeehK1UIBkyjzv5I djNlLur3NFXq1AbdR+V2G6OQ33AU8HST3teD+0Ca9mGOg2VdL1hmaKfxhUQ6BaBO0TbV 5Nv8D21THccSklPUAhKi5LJBPzzgsrcrqirC8zIBGk6k2wGdYOfFXFRcG1gRz79Fo/ab Gt3pAYV5PZdnKBWu+VwzWInHA8m0teKieBpPthvVy0L5a4LEbxjQr027iW5ylpZUUnvl SJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718096838; x=1718701638; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fta3eaWJ2teFy38tCw6loz+bdsnwvfr48UgRw05OSpk=; b=P7Ia8YTBRR2U9nxQzxVJrVJ7mjBohYabJQclH2R7qYNxPIc0pT4nF7E/5wLIrj7ydp 7U7Omm5299cmRy2fDUI6h4ir1TCMgM/T6bfpEc/FF2DWrNgGrtFtFfhTsgsXo3JL6BLn turjvWccJjd+1+mWE4/+/tJFVKJVpx5pcDTnin1DTvn08El8XKWVs1oleiaqu0Lf38Q/ BzQymdNJwGukiXJWGICMqtIW0GPURySoyOUsM0te+rzKqEBp2Ezm6LmtcXbQGs1L4lT4 SIzPtvz4gdBUv2bssSdnJGie4loklX4eSj9iwWyp6LDcDrCSUqbxD/GiNUwZbN0UERJm ytjg== X-Forwarded-Encrypted: i=1; AJvYcCW1OW41LAVnNoNUlQxBN63YYRANMGsQStwCSkaEEs2nKieJOILGC4LJ3yPKv90/P1Koq42TZj/8fqWjpLXgwQJCjyT2+L2ShtnzFSfnkqdPSoMGg9bmThuYf6fFnBNFAM4XBeOZucuy7zU= X-Gm-Message-State: AOJu0Ywa49lyclvLRJVrlwRhuyJSiAXTwuRBVfpKJ4JsVCMdb6ogDaOM oqVMGHgTacOBmURUK+dbgKYV3CYW5QDJy6hzrkVPVx7AALD9p2QpAsDgQPDVLz0= X-Received: by 2002:a50:a68e:0:b0:57a:3424:b36e with SMTP id 4fb4d7f45d1cf-57c508eeee7mr7948768a12.13.1718096837577; Tue, 11 Jun 2024 02:07:17 -0700 (PDT) Received: from ?IPv6:2003:f6:ef1c:c500:994e:fbde:478:1ce1? (p200300f6ef1cc500994efbde04781ce1.dip0.t-ipconnect.de. [2003:f6:ef1c:c500:994e:fbde:478:1ce1]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57c8bb27687sm2334450a12.15.2024.06.11.02.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:07:17 -0700 (PDT) Message-ID: <1f7a529ddf64179bd8892b74f7bf7dfe9947b143.camel@gmail.com> Subject: Re: [PATCH v2 3/4] Input: adxl34x - switch to using managed resources From: Nuno =?ISO-8859-1?Q?S=E1?= To: Dmitry Torokhov , linux-input@vger.kernel.org, Nuno Sa Cc: Michael Hennerich , linux-kernel@vger.kernel.org Date: Tue, 11 Jun 2024 11:11:05 +0200 In-Reply-To: <20240610164301.1048482-3-dmitry.torokhov@gmail.com> References: <20240610164301.1048482-1-dmitry.torokhov@gmail.com> <20240610164301.1048482-3-dmitry.torokhov@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-06-10 at 09:42 -0700, Dmitry Torokhov wrote: > Switch the driver to use managed resources to simplify error handling. >=20 > Signed-off-by: Dmitry Torokhov > --- Reviewed-by: Nuno Sa