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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D227C678D5 for ; Wed, 8 Mar 2023 10:34:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230510AbjCHKeI (ORCPT ); Wed, 8 Mar 2023 05:34:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbjCHKdT (ORCPT ); Wed, 8 Mar 2023 05:33:19 -0500 Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 804052057B for ; Wed, 8 Mar 2023 02:33:03 -0800 (PST) Received: by mail-vs1-xe2a.google.com with SMTP id by13so14949489vsb.3 for ; Wed, 08 Mar 2023 02:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678271582; 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=tTy8L/bjoQ+eUTbs+SF3teVKfIdqhIWOgK22nmCkyus=; b=pfMpzZyUSU4NMXOHiamdefO53InD/hLu0bAZST+wrc8Cm21SEFmZWSeC6xc3XoUZD9 wFViwQhJVHIKDomTV7MvlXtIpxUra0Ldlk+QL2FpQO8VLt69+2ZtRrd3OcB7N4k9Wyv1 SXb622Eh9STkc00RLupgn9pe3fojxDuZbgUWfw7U6dKgaVYNDZvO8Sugwly/uAaXBwxe /qT/phgnapUHsSfhzduyySE2VM/mLf2dFWaiHZVlpyRpdudgkWQC7jnOcQb/WPURNn0u U8limiYANJOkGejj99FvFp+NEqf+3g2oHZftPTwuLYslAZfJIO1Gd9SA//PDDUM5mCce mNqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678271582; 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=tTy8L/bjoQ+eUTbs+SF3teVKfIdqhIWOgK22nmCkyus=; b=HNluM3ZYKwR0YthoQ7gOgfnszwvaxdJZe516beDXC7j5d0OOPdc5s/VY/PCZ6RfAFg F0xfmVBQQSTwFNkDfvtcSpVk9VvvQrsNOwvPL4CZ4AYrJt3zW28C2KnM9+r2Xdia9F5v aOgjZsYxCiPxYPhY7zQfJSvBexIig3fCQL1d2vgqMOoXODJyBSjFe3BvcYjpe2FNus8d ctF3xL5z6BnTutLsqQs3gsMNL8uktjtwjZ+8ybLoEb+tdzTLEZ9SSZrMqOwFKYbQ46gY JD1MJq2hnerd73xKJb0dUpFCO4iI3LM5Pa1XWeDVzmFsmCs5ylIYRzRQC/SFaJpWXb2k 6pCw== X-Gm-Message-State: AO0yUKWRcLuHlkse/L2toRFUoszMIjBPb0TaTFSYrwZOdhpQYdZMqrZC du1UHKABdubM52Nkq8WfYKof5pqMSN0d6RN9jyB3Cw== X-Google-Smtp-Source: AK7set85zkFB8VYS++p5ySf7PMA2zEfRnO11fBZIjQFxTf6oWJyd1aTxO2CIyS+BSLOpmI2qhfMtISJvRiIHKSvO2O4= X-Received: by 2002:a05:6102:38d1:b0:402:99ed:ad3e with SMTP id k17-20020a05610238d100b0040299edad3emr18005363vst.2.1678271582597; Wed, 08 Mar 2023 02:33:02 -0800 (PST) MIME-Version: 1.0 References: <20230307165432.25484-1-afd@ti.com> <20230307165432.25484-3-afd@ti.com> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 8 Mar 2023 11:32:51 +0100 Message-ID: Subject: Re: [PATCH 3/6] 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 8, 2023 at 11:24=E2=80=AFAM Bartosz Golaszewski = wrote: > > On Tue, Mar 7, 2023 at 5:54=E2=80=AFPM Andrew Davis wrote: > > > > Use devm version of gpiochip add function to handle removal for us. > > > > Signed-off-by: Andrew Davis > > --- > > drivers/gpio/gpio-sch311x.c | 25 ++----------------------- > > 1 file changed, 2 insertions(+), 23 deletions(-) > > > > Applied, thanks! > > Bart I see there's v2 out, backing it out then. Bart