pwm: pxa: Don't reimplement of_device_get_match_data()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 18 Jul 2023 15:06:57 +0000 (17:06 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 28 Jul 2023 07:38:18 +0000 (09:38 +0200)
commit63808bbb3e226b0160f61723614e612fbf51541c
tree084545335acf843ee704b54e6222604981d23be6
parent4aed0ccd6868e6ec71f0cf26fc755dbd67447072
pwm: pxa: Don't reimplement of_device_get_match_data()

Apart from the return type pxa_pwm_get_id_dt() reimplements
of_device_get_match_data(). Drop the former and replace the call to it
by the latter.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-pxa.c