pinctrl: single: fix debug messages formatting
authorDario Binacchi <dariobin@libero.it>
Sun, 11 Apr 2021 07:39:42 +0000 (09:39 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 12 Apr 2021 05:47:15 +0000 (11:17 +0530)
commitfcf6a2b30a23a77323b11dedf31526f66b9ea2f2
treea3edda63d91bdac1a49853d2fd8ea2e5cb83dc1d
parent9b884e79a6ac8cededabc3eced318d212a9c8fc3
pinctrl: single: fix debug messages formatting

The dev_dbg(dev, "  reg/val 0x%pa/0x%08x\n", &reg, val); prints the 'reg'
address preceded by the prefix 0x0x instead of 0x. This because the
printf '%pa' format specifier already prepends the prefix '0x' to the
address displayed.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
drivers/pinctrl/pinctrl-single.c