Messages in this thread | | | Date | Tue, 24 Sep 2019 12:52:59 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH] pwm: pwm-imx-tpm: Use 'dev' instead of dereferencing it repeatedly |
| |
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 [unhandled content-type:application/pgp-signature] | |