From: Thierry Reding <thierry.reding@gmail•com>
To: Anson Huang <Anson.Huang@nxp•com>
Cc: linux-pwm@vger•kernel.org, shawnguo@kernel•org,
s.hauer@pengutronix•de, linux-kernel@vger•kernel.org,
Linux-imx@nxp•com, kernel@pengutronix•de, festevam@gmail•com,
linux-arm-kernel@lists•infradead.org
Subject: Re: [PATCH] pwm: pwm-imx-tpm: Use 'dev' instead of dereferencing it repeatedly
Date: Tue, 24 Sep 2019 12:52:59 +0200 [thread overview]
Message-ID: <20190924105259.GD14924@ulmo> (raw)
In-Reply-To: <1569315667-1525-1-git-send-email-Anson.Huang@nxp.com>
[-- Attachment #1.1: Type: text/plain, Size: 395 bytes --]
On Tue, Sep 24, 2019 at 05:01:07PM +0800, Anson Huang wrote:
> Add helper variable dev = &pdev->dev to simply the code.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp•com>
> ---
> drivers/pwm/pwm-imx-tpm.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
Again, positive diffstat and doesn't gain enough for it to be worth the
churn, in my opinion.
Thierry
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2019-09-24 10:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 9:01 [PATCH] pwm: pwm-imx-tpm: Use 'dev' instead of dereferencing it repeatedly Anson Huang
2019-09-24 10:52 ` Thierry Reding [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190924105259.GD14924@ulmo \
--to=thierry.reding@gmail$(echo .)com \
--cc=Anson.Huang@nxp$(echo .)com \
--cc=Linux-imx@nxp$(echo .)com \
--cc=festevam@gmail$(echo .)com \
--cc=kernel@pengutronix$(echo .)de \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-pwm@vger$(echo .)kernel.org \
--cc=s.hauer@pengutronix$(echo .)de \
--cc=shawnguo@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox