Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1891645rwd; Wed, 17 May 2023 02:55:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4E56N4AdJmKrBYfwQmud8E+EBe33s1lpIRfBIA1qs4M+IyWMVoDebLb9sRhqPBsPl4lQSo X-Received: by 2002:a05:6a00:2489:b0:636:f5f4:5308 with SMTP id c9-20020a056a00248900b00636f5f45308mr281210pfv.7.1684317352454; Wed, 17 May 2023 02:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684317352; cv=none; d=google.com; s=arc-20160816; b=ObD70qBdmSZWpLctAue1TZKIC/KkinrwbmZlD6sFEcgRtLwnr8vf0FPzCDfpFqfT34 yG31JEkV6+ENSSzXITvS5ElRgrQShrgJsTvn82XcpEXSU4dqYWxvqfA6mbUnqiBlLRu6 Ny9ak8G2IHiuTDJYfXVp3ob3gi2xL76fDBgCgbn6jz22XSEGoueBth1iDUj373BMi3Br ejBw+zXugCW2Nt+QkA3adH/mJDbE+Zri4TmuPKZHNZrtg9LXhOOIOnBwy0lOnDyC/oUc iWz56Jl7NGJ6rMYT22EBpGYxX8BPL3GUS7D5c6f4fVX5q2wyshIy74czyC+k7/p4YeBW qzRA== 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=k5hlnwLqa+RxtRx+qxf8dxbPXjY3l2J33vfW0LrGz3k=; b=zvAdSstEADhCy7NAyzq4trM/EX7G3Gv89FV/C92/TkQxggP867ENLoFDhVdi6Fx7x+ qvXoifS2uyzr3z0/iUAQgD/boz/y3H4jTN6lnZ7FdNWpZ40WZx0ANm9Wf0sjrQsXhVvd erpINPTaLlAgsPKP8gY7RaiREXRK8d0B9IbnmZUgLO/HwrUzUGiubXTtU+CS9fNTNujH t1ZMFeszOrXXrMjYXfyTi3jbosDHHunt+d5IQ9Fq4+2O776kj8GJWD9qVhB3B4GEbbeW i4b1UcvL+2DDiB+RjoHD9p+Kzplb187j9RBxHJD2XtE/DU7DTX+G4ycqjuF6jyWRoWaj dBPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=qd+Sqt0Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 67-20020a621946000000b0063f2827e1dasi21258870pfz.184.2023.05.17.02.55.38; Wed, 17 May 2023 02:55:52 -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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=qd+Sqt0Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbjEQJw4 (ORCPT + 99 others); Wed, 17 May 2023 05:52:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbjEQJwz (ORCPT ); Wed, 17 May 2023 05:52:55 -0400 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C0E4A6 for ; Wed, 17 May 2023 02:52:54 -0700 (PDT) Received: by mail-vk1-xa36.google.com with SMTP id 71dfb90a1353d-44fd6524c36so234005e0c.0 for ; Wed, 17 May 2023 02:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684317173; x=1686909173; 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=k5hlnwLqa+RxtRx+qxf8dxbPXjY3l2J33vfW0LrGz3k=; b=qd+Sqt0ZY5TEVY3gCHm4vTv4eB78xhKmiL+2z067YTJrRJO3+9dGoObBMM7G1s6fm7 Olh3OvjoWVPYEgQ8HfQxZpqwS9pG3ilpNuJGQqjL8EVKEPndpBrFk25Ro92g45DEykaD U+Zhwi04UjT9HDHuI3/fbLEL7ChajlcyEI8TSd2KJ6WvTOCTOMrSUKEpNnl5sxJhGWzl 4goJwXMud1aK6Pqswk+whQ5UR+9zYHQ5kHEi8PP/zWquVaVXSFDrmpLEhEdmcB7SOTZi DVflwSUuhEWaObMLL0UtYt9NeipgnKGvnWxwmnFEiDMZ1JbZuqrP96eHRwZ7u1sQ+ztK bHQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684317173; x=1686909173; 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=k5hlnwLqa+RxtRx+qxf8dxbPXjY3l2J33vfW0LrGz3k=; b=l9W2VFvPIGeRrWQE+b/IO61RK9Lq6zZlMOa5QZemK0xCCp3I0dmA1F4EhDajF/ATO7 ZD8vOTbjpycH7XK+6Lc+4dyn/qY20v7lrWgVeh9P8x3oOpUbEopWgzPxAh7pFKMBBpIF uIrG0URDhJnlVAfeSIc9z4/NwlutEYGEEZMZEX4AUwWD9CQhNAeQJQdcTrxhOt7Oe5dg OSm46nNhG4VDnA/QwoUAHv35ij4azsANSnEJDAcgmqJgBL6OFXjGwTPCEddhgQVxCRps /lF386o3LA5xIaWdItdW/XW8gmJx9+LuSlltYfPBEvjthMqeMUNo0JT3GMGeqB+GaYZV LIWg== X-Gm-Message-State: AC+VfDz4j38vSIyvOgtIdMFfrdbZVgX+1KRcfne314rcAynuf4L0IKun WO7BoFzDS6bb1j9s1FWAo1DDX8/g0gPx5+/mONc0EA== X-Received: by 2002:a1f:dfc1:0:b0:435:e8a8:29f7 with SMTP id w184-20020a1fdfc1000000b00435e8a829f7mr14120468vkg.4.1684317173330; Wed, 17 May 2023 02:52:53 -0700 (PDT) MIME-Version: 1.0 References: <20230515174224.494631-1-afd@ti.com> In-Reply-To: <20230515174224.494631-1-afd@ti.com> From: Bartosz Golaszewski Date: Wed, 17 May 2023 11:52:42 +0200 Message-ID: Subject: Re: [PATCH v3] gpio: sch311x: Use devm_gpiochip_add_data() to simplify remove path To: Andrew Davis Cc: Peter Tyser , Andy Shevchenko , Linus Walleij , 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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 On Mon, May 15, 2023 at 7:42=E2=80=AFPM Andrew Davis wrote: > > Use devm version of gpiochip add function to handle removal for us. > > Signed-off-by: Andrew Davis > --- Applied, thanks! Bart