Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15755590rwd; Mon, 26 Jun 2023 00:27:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Q1gmqZsJBRUBRkhEM2Z0K6P6FZ6fJ8vbv6Hl0WKfN0cRTBk2xpIvNOahV5qYKG5b4CQB3 X-Received: by 2002:a05:6402:205:b0:515:1e50:5498 with SMTP id t5-20020a056402020500b005151e505498mr19127756edv.15.1687764420141; Mon, 26 Jun 2023 00:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687764420; cv=none; d=google.com; s=arc-20160816; b=X2t26jrUDAb3QSQIjv3R6DP3kE+Ecf8rXQoAe4MdrJUSk8F0LMW73uG+jGhfOm7cDY RGTlzII2PJB9qZyBafxHBqTjnNR0fMPSKTcZoyZQnDQhIMJ2Dkcye7/F/JMGdIEj1Px7 YvvbSi4a4Rvjd5xWMn26IHcSq7KtiJbptMOFKGCoUZYljxjI1+U6RoAd3upbvDuK1sx/ OsGGK+06wkDXkGlJ5vvcyUL6zmaYcSfDdRf3NHKRcfevTju7ST06JQlrduRFv757J5ib +c7Pi62QKBhqxXdSLES9DtlCZWXy6StSDsre7PMnDguamfIdQOnxzEjD6IZVZOtGsXgL 26Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RUSGWbCXntBTkO9sHXbN7XbI0NcyxewHoKY9x8+FCk8=; fh=7ak/mEhdaaVk/ALboz2wjhVk7t3oqm1aErIIjrJ/5dg=; b=eXCkkjJLaChi4SEnqT1a9yfd6i1DEW2IGWAwB0uRMnLlSubFNP7zTqEIFQ+xEd/cjz b9CMaadq65pjCrEb+Fjsn4/R0XbNmRlWoCXqdK3p3wfpBqf/8bvY+LUxJchcH65+9Q5Q E5PbL1ii/nMwOcm6mt2jcrGLW4bzneK+QrH6NoQ9bbPjzuvqkPGqzsxmWoxJsfDgRPsg YzS8A8PrAa2Zgi/nzSX7Ekjath0OTU3juRSA1CvGe4La2bBTvwXFxALtd5W0fAxux2Mt 7CdM/DJECbk8o0QvYlnHuFEoLORQENO2jPxEFBxTHpEhp5Np7DtYkRvR3Rz22hk5v6b0 nAbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JQ3i5hlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a50e615000000b0051a52a48ed4si2505463edm.156.2023.06.26.00.26.26; Mon, 26 Jun 2023 00:27:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JQ3i5hlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229488AbjFZHOH (ORCPT + 99 others); Mon, 26 Jun 2023 03:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjFZHOF (ORCPT ); Mon, 26 Jun 2023 03:14:05 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D9D31AC for ; Mon, 26 Jun 2023 00:14:04 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4008324d85bso29510851cf.1 for ; Mon, 26 Jun 2023 00:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687763643; x=1690355643; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RUSGWbCXntBTkO9sHXbN7XbI0NcyxewHoKY9x8+FCk8=; b=JQ3i5hlcNNawUt+qj1ljvA9FJ0Im+H88QY9lY05bsjAfE2q4m3iA7PEHWrmPaE1svp eIXan4f1hjUYaqBfHrgo4b/wXDBjcNxZTM3uFou/50/XKrjQc6Inmjw1nzFW4EZ6eR9n jIvNa++eL6AecOt5OvPJxesVDzGww348vywSvZ5jMMLFg3LzAERssj6kgf4VTV+L2dhm onXiThYPyPJdNNVINgulXcAniCGeB1+R7105zc2ZzfXRKs5635n/aiRQSWXIUMd8Bs6f GIbHcXqO1TFlvRR/aA9hjo/J1DsELauFYWTF2zKiEJqFJYAZEoTkC+TuZi9LAq/Axly0 ccPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687763643; x=1690355643; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RUSGWbCXntBTkO9sHXbN7XbI0NcyxewHoKY9x8+FCk8=; b=MYSXAQwjE3KfEkyexpVGnyEtSpVxok2kcgI8Y236nlUBkOEjHQY3xFlYIAa8SpTuuh ASlL6Gr49F/V263kItU3APSVGYTzBZS6UF/Te1rHXAkKgNcNGDRUAkCeodt1gEcKBC3b 1UxORDI6QNaG3EpVOvMAdr0Oom68/3aLMg6dw8iiibD8D/ouyVFWRoqfmnhSRLpl5ljg 1HP2+C5ZCkU+J1071qad+U61GxlWqrzeT9Vn/TMt7fsyIB1t40DhbX5fMgUlLai05uPG /OEXVYu1RL27+paj+yPmWdi7JIRJQoP99uhOtpgaE8S8icgBL9bWUEfMBQy89QHoFI2/ tZgw== X-Gm-Message-State: AC+VfDwJSNZ5pBzdp7uarbua6dHqjsY8Pzp2Xom6WCG7lIefbVI/uHX+ 3OrpSprewcYnVKO4eRYJnZhNd8dYH52cYRPP+3zFAA== X-Received: by 2002:a05:622a:104c:b0:3f0:b4ee:6f4c with SMTP id f12-20020a05622a104c00b003f0b4ee6f4cmr35747340qte.41.1687763643515; Mon, 26 Jun 2023 00:14:03 -0700 (PDT) MIME-Version: 1.0 References: <20230625162817.100397-1-krzysztof.kozlowski@linaro.org> <20230625162817.100397-2-krzysztof.kozlowski@linaro.org> In-Reply-To: <20230625162817.100397-2-krzysztof.kozlowski@linaro.org> From: Linus Walleij Date: Mon, 26 Jun 2023 09:13:51 +0200 Message-ID: Subject: Re: [PATCH v4 01/24] Input: gpio_keys_polled - Simplify with dev_err_probe() To: Krzysztof Kozlowski Cc: Dmitry Torokhov , Hans de Goede , Bastien Nocera , Sangwon Jee , Eugen Hristev , =?UTF-8?Q?Mika_Penttil=C3=A4?= , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Andi Shyti , Andy Shevchenko , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 25, 2023 at 6:28=E2=80=AFPM Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Hans de Goede > Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Yours, Linus Walleij