Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2239163rdb; Mon, 20 Nov 2023 06:06:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IELUM2dQKcmnd9K4VzznsyQltl84XF8bnv3wkIi9RPZUxQCRFLHtCMVf8xj4fDStZII1aIP X-Received: by 2002:a05:6808:138c:b0:3a3:e638:78d2 with SMTP id c12-20020a056808138c00b003a3e63878d2mr8218954oiw.12.1700489169563; Mon, 20 Nov 2023 06:06:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700489169; cv=none; d=google.com; s=arc-20160816; b=OWjqrR8yPNrGeKeD+3UUReZV1FOMyoNFCuKNTeRv1BReCmITuz2TM3mySDfVZbOjLJ m4sMxlA+mJHPWcn3khxND/D1GUjbJSxfRbmgpN42GsIzETtrASE9Sp0nIINyVITSJJm7 y04CQP/KHTLPapF/c7uqMfZw6r9a7oqge6TYzRHNmxva/efvbuEJ/PtuRYosKNXHbfCa foDWlMNvATjFs3k7+cazO2ergaHqM/wIcaH768NHJqmLW3IQCZ18t0MaOJ25BGiPXev/ DbSe+7/WZl4bCPtJdPVMqQOiPZEuV9zh9Sr0sulGrzRpZcnQ08FUiPRS3w8fBUy206m4 TV0w== 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=SW5H6+GFrLZpuAg2kGT9GqVc35788MqwtA8XYVGcezU=; fh=+1cK2nrlD9y0vWMVM71ENevlFqDmMZoQ2gflE7SuyCI=; b=b7BSQi0h3jY0Or4mWmSbWohAaGtvPvUEZGR4zEm5OLW7c0il9HrTPN5zRLsblu0b59 HQuxAKWyvfjkkfADAWbSjNjEo10bQ693W6lyyYZqegKsn6uxis04UcXtIXlxcFS1u19j 3kDOl6vwQcIM5GqKP5FyjPVmkqgbzvFABm4tOugAphKjz7mCkQ/osMCdkOjcTETKTOql Zandi0BzVFwtcN/KEEomvCS35jwKghYDUqB13jv+UworBKr0JP1yj48dLxC2+0/+tESY AH7yDJ3O9XEdSNDrzOt4/nPbHdKpSmmCQ8cJGXmqdmlwdwEJ85Ar6lgCmi18iUEfEv3G M3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MS4SPydT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s18-20020a056808209200b003b6ce7a5680si3025756oiw.289.2023.11.20.06.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:06:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MS4SPydT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D814C80657CC; Mon, 20 Nov 2023 06:03:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233699AbjKTOC7 (ORCPT + 99 others); Mon, 20 Nov 2023 09:02:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233696AbjKTOCj (ORCPT ); Mon, 20 Nov 2023 09:02:39 -0500 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D55310F0; Mon, 20 Nov 2023 06:02:30 -0800 (PST) Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-677fb277b7cso12068236d6.3; Mon, 20 Nov 2023 06:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700488949; x=1701093749; darn=vger.kernel.org; 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=SW5H6+GFrLZpuAg2kGT9GqVc35788MqwtA8XYVGcezU=; b=MS4SPydTxdqqJAZZHQ6IWh9sd4oaL6USu5Y318QtCqVfniYI2uM8eIfi0AZxavwMk2 l5SvoJd4cp/94S+TPIOyHX0fxLa1ewRDouGFZvgs3XhYiHXwyV9pZJx+DGgMCfCmPnCe VNvhRJZcAjwTyOwnuYituQdQnwBlUrdHLVMDkENEVwXrcKBTi5OQVxQwYojRU5DR5SjR f9Sf91z56pgDadONXm+Zc9k/er7ge7V14WNRVrr2R8dcbEqwafk6y9WV0ZKsJWRnznbg QLV1XRqHSUIM0WsVnrWvUjR3zSiCPEiJ90WUFngZrHLs3NikDvsRgJGauO4KfimEEQLa QZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700488949; x=1701093749; 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=SW5H6+GFrLZpuAg2kGT9GqVc35788MqwtA8XYVGcezU=; b=fyiPIbcTj07xpiG32D96VTvF0cTlNlWbv+4Q/i01SmsUoH6BiwAT79KbZ7kiXJn5FF Qr9Ss6Ia6G2EuAGwDJHftWDhSAnbN3lZ5zKxTRPVGKUlwzOa9dSKbYoAJMMGG5NL66Wi qqr8EkC9icTEJA6MWe5W4Zqp4hkRzQYGezetbbIhXDuEr9tP4YSlUXv2M0Z73v3rrBbK uMgR3kogSJ8agpN+k4bqWRl2DEer/sVgIwdOw47+gKAhfSgSgx73P7cL97fBztQyFwJT DILjPm0BeVtWf4XihunrT6lCrsv8E8xDJPIoCWKrGJqHEpSSu84mD54iInWNXrZOUjSZ qBsw== X-Gm-Message-State: AOJu0YwxVjZbHFNCr/rxOO6dKf2qP80uD99IZnp88U9UGf2HhI0G90YF yqkB1W5yeFFf+0j+eoqg1SYUS8ujs5Rkg0HJ2Yc= X-Received: by 2002:ad4:5de6:0:b0:673:7256:7c70 with SMTP id jn6-20020ad45de6000000b0067372567c70mr10262221qvb.38.1700488948995; Mon, 20 Nov 2023 06:02:28 -0800 (PST) MIME-Version: 1.0 References: <20231116223045.274211-1-afd@ti.com> In-Reply-To: <20231116223045.274211-1-afd@ti.com> From: Andy Shevchenko Date: Mon, 20 Nov 2023 16:01:52 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: as3722: Use devm_gpiochip_add_data() to simplify remove path To: Andrew Davis Cc: Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org 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,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 06:03:06 -0800 (PST) On Fri, Nov 17, 2023 at 12:30=E2=80=AFAM Andrew Davis wrote: > > Use devm version of gpiochip add function to handle removal for us. LGTM, Reviewed-by: Andy Shevchenko Consider adding a new patch to convert to use return dev_err_probe(...); --=20 With Best Regards, Andy Shevchenko