Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15773754rwd; Mon, 26 Jun 2023 00:47:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oa8v5ue0ZU9JjFDUsA1M4KFOJRpgY6+vJIVyrlw6UU8PHxUkj8G2pPLrVjNRv0sHSrUQo X-Received: by 2002:a17:907:5c7:b0:973:e4c2:2bcd with SMTP id wg7-20020a17090705c700b00973e4c22bcdmr21967002ejb.18.1687765646973; Mon, 26 Jun 2023 00:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687765646; cv=none; d=google.com; s=arc-20160816; b=fsEo3QzmjYaUD4Rae1nXcCIaGTu/c+L48BLPrJdevGIvci9/Sivsdpo7MiIp6a/c0a y2QbqiNAmqYrOLHT0Pgtbley2phiGODm6JeizGhxuBjKHEy5TKY0hKiSZHuAYfiIR8Bt 55w1WpjoRD2ECvHiCUBIUhG3McukREJe76WfXHmzVHRID9VkZh9Ois6jOFPmmFQKeLjS /VpMXM2PdCNrR96EFWSlWB5WjU/+yldPSigslwm8TnwX/JjSUvCN2ozUbGxf2w4FNt+G K4IHUiYoSaZfRtElaeqVOsvGzjbkjQ+UzXCRYZvtvSJbYUJPBCLMdowspIgWA+HMmCCm wnfQ== 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=ParCzQZCeidkY+Meh+Z1nGWWLSacSIalrmAJqDFF7nLZylZYp3b2M+VHhwY1mpQi2G ESNPKifaNXrOY1aTqo5qKA93IRaxyD78lFcgZBjxG8PoiwHFDqJwRjd5zOVl9lwoxtWR n86KAHYK/AhUCbJTcSa0cqp1kkZGG+ROS4BkUgiU6JDb9kmI6B/COlRh79sWzHrToPWk fa0Pze5Wajen3piB2j1ZZrGnL5Dnl0o201qoGvsBsQlsTgZ80NeTGL32CrXC68VCL0ly r1AX3X4rBwjX9krmfK6kWiU01nLRso4Ip0+Y+oXClKCNuWKtsH4K6NwUBBBRCd2rtaEf dVKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w3kVtyCJ; 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 f21-20020a170906561500b009887579a30bsi2641815ejq.598.2023.06.26.00.47.00; Mon, 26 Jun 2023 00:47:26 -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=w3kVtyCJ; 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 S229779AbjFZHOg (ORCPT + 99 others); Mon, 26 Jun 2023 03:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbjFZHOd (ORCPT ); Mon, 26 Jun 2023 03:14:33 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DD64E70 for ; Mon, 26 Jun 2023 00:14:26 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-765942d497fso99748685a.1 for ; Mon, 26 Jun 2023 00:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687763665; x=1690355665; 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=w3kVtyCJ4ESUpPms38IJ30YO6oVYBMt0UEKIlCatn9cTvC7xC8K+wv6U4swkyfoQ9+ 3K2suYs6a1ErbqyeTSMcn5Xi3Y7tpNgOvIN7oPdi91jPlcYOHaFf8Bdbdz4+iupUtMiU /mlPzoFtxaHuhMa2wKMNuHtV8jRuC62mZNPzaMbQNLPuV7zl+AC/7mDwEh/JTJuIWQvR pWT9GV4rKv/bu6X+SEiRJDkIxqfF+ONHj6WFvBnR52L4ZC4jBdE/ug7z/pxlwxMVTSiq 3SregEObJ9zB+JtXUB+4FX1bIAJ0F3h5TDiW3NKT3F6zep1HLwKhAT8geDiu1WwYjmHR Ltxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687763665; x=1690355665; 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=WjzDAkBCuzc+0zXrI5ojKTYrF2+PcOG57wVAiHj4Jc8BOlo72uCrgj2lCVD3ALmo36 bwmeLOgAcFjeM+ec9x9YgkLv0XE6HplLiwSyw0q+KW76QlBd+ooSFNwCQ0UU1eFphd7M tyuvQmt26nGYgMTonH8jkfmepQAFR2CP90+o6lCrHI+m702wbhDBLo+VVMgnQJQ523IH lyaSCwZOGVwawPAhG2oIB+1lNeJYGet2WikG9Zdmn6Ac6ocF9apICArQAiFUe7Yb2s9w 8uVUrMWIsepaMBEm+b7ZhlcN9UtHoLNtQtU5S/HodMLo7yVh2ipNABhy/QDxnSx3XQaf 4DXQ== X-Gm-Message-State: AC+VfDzicTMRz9kuRGAzBBjLYlJ/SHUEsbE7du74CBnjG/oHSTMEeqsx jAQlLp3YxKGbeyBoCkbngdN1imHa9n6JgTeHgrBBmQ== X-Received: by 2002:a05:6214:c6c:b0:626:15bb:f57b with SMTP id t12-20020a0562140c6c00b0062615bbf57bmr30736446qvj.26.1687763665174; Mon, 26 Jun 2023 00:14:25 -0700 (PDT) MIME-Version: 1.0 References: <20230625162817.100397-1-krzysztof.kozlowski@linaro.org> <20230625162817.100397-3-krzysztof.kozlowski@linaro.org> In-Reply-To: <20230625162817.100397-3-krzysztof.kozlowski@linaro.org> From: Linus Walleij Date: Mon, 26 Jun 2023 09:14:14 +0200 Message-ID: Subject: Re: [PATCH v4 02/24] Input: gpio-vibra - 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