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 896EDC6FD1F for ; Wed, 8 Mar 2023 10:26:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbjCHK0f (ORCPT ); Wed, 8 Mar 2023 05:26:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbjCHK01 (ORCPT ); Wed, 8 Mar 2023 05:26:27 -0500 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2D4B4829 for ; Wed, 8 Mar 2023 02:26:26 -0800 (PST) Received: by mail-vs1-xe36.google.com with SMTP id a3so14991727vsi.0 for ; Wed, 08 Mar 2023 02:26:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678271185; 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=AGmotPoG2120yB70tKLvm/NcUMvlY8fYIwzXAE2sT5E=; b=ikmN3FQLY36alaZWM7yikv6mQnHmAO0CBsIMnVSL0SKNv8lQ6Jgck86pX0+z/SNheX fCJpcMd2Vri0U8uNDvBhlt5K6RP4f5Vnwp9pQT2iv6C8jSHQUMxtQL9muBb/2qclAi5N 0lNXLlkl5sisMB6TrhuNIjxJTyj2kvySbMn3Uz9wbex7OfKBYn7WSpF+BwkzjZgH8oQM NldSecCcEDlHOQeZEqoaRbIogSqOeSnMLcANZ2iDNUX1f1f2nX5F9YL5bQk/i3yn9NUj 0z3V6I6y0HT02asXaBJam4cjb768Whr+HEQXJ9BJZZv6MeFI/uP8qoVkA7uxVch2JQnB 0V7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678271185; 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=AGmotPoG2120yB70tKLvm/NcUMvlY8fYIwzXAE2sT5E=; b=y+3ZeUiUI1v+9FyaVDvqybYhp4ic75dt0i8Enmpr4Icsvso6d0cPMXy6JZFa22er58 2fVWlfzEQ5+PqSU9mMjK2lkoGVTkdSdZX3KywZ/D4+13dWjATZCTAxYceNz1jwLt0cpT Dx894vgGQPL48TPSQr2+Md8pZCPOmF7V37sVEST910SsQHBUcvNxRIANVROq6/iEw1Z7 1nn4wsTBpBU+n6f0/CB5oNC+ExpjVVONyBs2VFZH0DDRrRV6tJ6mjFwhnQt/nXfsqBI2 NrhrA23jh9U3szXLbKyLuBt5d3RJ0viPwJSOCbccOhvWrIUuQValm5g50sguTQojRvLZ KFeA== X-Gm-Message-State: AO0yUKUlb25Epxw0Z/vPgf1KbrWacFiHukfw7BnZjf9tD1a7QTHncorj 3h7y2blC5/lvqBne++qFYaNtIuMZ7/zpwyz1xmMMIA== X-Google-Smtp-Source: AK7set+nfFCDXVga6XlswqORZjNQ+XvGO2KUTaYGALjfouQWJGkZeidT1GEBY8YrejCjCD/g0wbdlikML4iY6myTQWA= X-Received: by 2002:a67:ea49:0:b0:411:a740:c3ea with SMTP id r9-20020a67ea49000000b00411a740c3eamr11948516vso.0.1678271185398; Wed, 08 Mar 2023 02:26:25 -0800 (PST) MIME-Version: 1.0 References: <20230306151532.23246-1-sensor1010@163.com> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 8 Mar 2023 11:26:14 +0100 Message-ID: Subject: Re: [PATCH v1] drivers/gpio: remove redundant platform_set_drvdata() To: andy.shevchenko@gmail.com Cc: Lizhe , linus.walleij@linaro.org, geert+renesas@glider.be, info@metux.net, shc_work@mail.ru, j-keerthy@ti.com, hoan@os.amperecomputing.com, fancer.lancer@gmail.com, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, kaloz@openwrt.org, khalasa@piap.pl, keguang.zhang@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@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 Mon, Mar 6, 2023 at 11:54=E2=80=AFPM wrote: > > Mon, Mar 06, 2023 at 11:15:32PM +0800, Lizhe kirjoitti: > > remove redundant platform_set_drvdata(), > > Because there is no place to use the platform_get_drvdata > > The commit message has to be improved: > - English grammar and punctuation > - style of func() > - clearer wording on what it all means > > Note, to get driver data the dev_get_drvdata() can be used. Do you aware = about > this? And hHow did you check these drivers? > > -- > With Best Regards, > Andy Shevchenko > > I would also add to that: you need to use your full first and family name in SoB because I assume you don't just go by "Lizhe". Bartosz