pwm: dwc: Change &pci->dev to dev in probe
authorBen Dooks <ben.dooks@sifive.com>
Fri, 23 Dec 2022 15:38:13 +0000 (15:38 +0000)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Feb 2023 11:26:04 +0000 (12:26 +0100)
commitf7c843d6d7f82d26ee9efe689f9b3208dbf7ed87
tree6d235a08128199947b0743d68e87c330ab75172b
parent0f03bf300833c05d914ab7f5ab3d8bc8564e9912
pwm: dwc: Change &pci->dev to dev in probe

The dwc_pwm_probe() assigns dev to be &pci->dev but then uses &pci->dev
throughout the function. Change these all to the 'dev' variable to make
lines shorter.

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-dwc.c