pinctrl: sh-pfc: Use dev_notice_once() instead of open-coding
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Jul 2019 09:41:16 +0000 (11:41 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 8 Aug 2019 08:18:57 +0000 (10:18 +0200)
commit6da53cfa0f8300c85c7b63c9a6951400474a142c
tree2d9b3a22ffb9eb43187335f69e8556a7cf934707
parent2f64dc70baba18dc0b2d91d92f13bda7f2f28112
pinctrl: sh-pfc: Use dev_notice_once() instead of open-coding

At the time of commit 9a643c9a11259955 ("sh-pfc: Convert message
printing from pr_* to dev_*"), the dev_*_once() variants didn't exist
yet, so the once behavior was open-coded.

Since commit e135303bd5bebcd2 ("device: Add dev_<level>_once variants")
they do, so "revert" to the good practice of using a helper.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/pinctrl/sh-pfc/gpio.c