pwm: Let the of_xlate callbacks accept references without period
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 9 Jan 2024 21:34:33 +0000 (22:34 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 15 Feb 2024 11:28:02 +0000 (12:28 +0100)
commit40ade0c2e7940becad70a0643ba90488b905b468
tree10f12a7667ffbb9385fff6412473ef995540b464
parent4e77431cda4973f03d063c47f6ea313dfceebf16
pwm: Let the of_xlate callbacks accept references without period

With this extension of_pwm_xlate_with_flags() is suitable to replace the
custom xlate function of the pwm-clps711x driver.

While touching these very similar functions align their implementations.

Link: https://lore.kernel.org/r/127622315d07d9d419ae8e6373c7e5be7fab7a62.1704835845.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/pwm/core.c