From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FFDAC55162 for ; Thu, 30 Jul 2026 14:29:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BiODsEReZFxde+7AXbuA9TsINgA6XK/L0TB2Iycg95w=; b=uSef73/HTUi/EqgRT461JaAdMf oOHbmAUCM162RVnN9XDv47MUpmQxGOQeEvsuwfYJn4BdcAKLhDeslqecZkdRJzPawV60Prte3c5D0 W2BZNRSDqAtpd7lQ/UaPwRMtOHhyTUmOoslCSGl12HLC4l4g4Xg1L1zx7qN7MYMJeoNcdzGQ6SxEM cm50H6zUWbpcSr5WatCcOjzCTGxsJX1PfVaLpvOO0IxPpQrlZtgYFSCeKMxC8fG8a7SiNT1PRZiaT y09assLQ9/blT0AkBhWB5q5U7/RdvO9/fkD6/wEqCtWYD8INWvnEabDpxuy7N6LRkFCApCG3YVyer DmKfIATw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpRl4-0000000AkRY-2dfK; Thu, 30 Jul 2026 14:29:14 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpRl2-0000000AkQr-0AKB for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2026 14:29:13 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-49550ec592cso5252835e9.0 for ; Thu, 30 Jul 2026 07:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785421749; x=1786026549; darn=lists.infradead.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=BiODsEReZFxde+7AXbuA9TsINgA6XK/L0TB2Iycg95w=; b=ZOEzSPE3HQSHMdO92xJdiwDusOkEwJ7UdOixBuULiTqDfhoej8g9Ug0J45Pt4hWkIk /hEbilIZG33H5Pi9HfOtFKlO4rRisLH61SGI/r8CATLVt1Yj/NstxDMzHsvDUsr8KSa9 0VlqFH/DCpchStIbjLoeT0wRCzH4X0VYlWTKwygrZz4vf/AQXSVfA5ZaiPHXcN6s3fz2 jPPlzJrBGNS7CxQvlIghYTm5VY7HqTv10sgtVy61cf2SMQxurlb1PEx5AjzIjyiJzPsS 6od5oEl8dJnywk3x5MBkZDGM+z4l+2lQy7x25rk7CepRpIDdCD4ktAZUFJiE91a/QFWu z7tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785421749; x=1786026549; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=BiODsEReZFxde+7AXbuA9TsINgA6XK/L0TB2Iycg95w=; b=WGRODgBDzVMBxef7+nWn4PQlLilcW0wBmyu+GjjQ8VjQy0pcJzRMM9q2d+8fIksnBu +pvFwrIPTgKzDCTxAAoRlnyU1qgfnQ3L1w86m/LuMTMuAUAWhNwQlB2u7h6EMEOBCX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VRkgCdPc8JimWfLnWemYqVOVT9npOPq4uTd0EuGhL/GQ8yp9+FKVxtYo+5vCkDnH1kMI IP7iOtfUBpq//oHZgV7RS3URVdbzPnYd/wIN7iiizKxD0VBLbHI+fHzCPoowIBouvkWn01Bk= X-Received: by 2002:a05:600c:1551:b0:495:5d6d:9cc1 with SMTP id 5b1f17b1804b1-49804c8f0d1mr8791095e9.0.1785421748939; Thu, 30 Jul 2026 07:29:08 -0700 (PDT) Received: from localhost (90-182-112-124.rcp.o2.cz. [90.182.112.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-498010aae15sm66472515e9.13.2026.07.30.07.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 07:29:08 -0700 (PDT) Date: Thu, 30 Jul 2026 16:29:07 +0200 From: Joshua Crofts To: mdshahid03@gmail.com Cc: Jonathan Cameron , Andy Shevchenko , Broadcom internal kernel review list , David Lechner , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Nuno =?ISO-8859-1?Q?S=E1?= , Ray Jui , Scott Branden Subject: Re: [PATCH v2] iio: adc: bcm_iproc_adc: Convert probe() to use dev_err_probe() Message-ID: <20260730162907.0000588b@gmail.com> In-Reply-To: <20260730140405.369634-2-mdshahid03@gmail.com> References: <20260727034009.5c6b0be9@jic23-huawei> <20260730140405.369634-1-mdshahid03@gmail.com> <20260730140405.369634-2-mdshahid03@gmail.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.51; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260730_072912_098760_DEFD51DD X-CRM114-Status: GOOD ( 14.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 30 Jul 2026 19:32:45 +0530 mdshahid03@gmail.com wrote: > From: Mohammad Shahid > > Replace open-coded probe error handling with dev_err_probe() for > resource acquisition and initialization failures. > > This simplifies the error paths, avoids repetitive error handling, > and automatically suppresses duplicate messages when -EPROBE_DEFER is > returned while preserving the existing error messages. > > Also remove the redundant error message after iproc_adc_enable(), > allowing the error to be propagated without additional logging. > > Signed-off-by: Mohammad Shahid > --- Hi Mohammad, Please don't reply with a new patch version to to the previous patch, it breaks tools like b4 and appears weird in people's email clients. Since this is just a matter of resending, please send the patch again (not replying to the previous thread) with the tag [RESEND PATCH] in the subject instead. Thanks -- Kind regards, Joshua Crofts