pwm: ti: am33xx: Fix build warnings in dev_dbg()
authorSukrut Bellary <sbellary@baylibre.com>
Fri, 30 May 2025 21:22:31 +0000 (14:22 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jun 2025 22:26:56 +0000 (16:26 -0600)
commitd0bcbf782f5909b36d0af705e95c5c8ad4092bfc
tree6340c7171d5b3a70ca10bc14fd8bb76c3f95172f
parent1bf82082b9e4f079adaffc1dcee5306b082dc760
pwm: ti: am33xx: Fix build warnings in dev_dbg()

If CONFIG_PWM_TI_EHRPWM is enabled, it throws the build warning in
dev_dbg() due to incorrect format specifier as,

"warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but
argument 4 has type ‘fdt_addr_t’ {aka ‘unsigned int’}".

Fix this with the correct format specifier.

Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
drivers/pwm/pwm-ti-ehrpwm.c