spi: rspi: Use dev_warn_once() instead of open-coding
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 2 Jan 2020 13:38:19 +0000 (14:38 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jan 2020 22:33:08 +0000 (22:33 +0000)
commit1bec84ddd85ae7a2b1df5fef3a5c7e5c44cbe36e
tree01d2bb03c2956364fa68e1b173dc920c0001b909
parentaa32f76e0a409adcd40ef11ed1ed668df8b034f6
spi: rspi: Use dev_warn_once() instead of open-coding

Use the helper introduced by commit e135303bd5bebcd2 ("device: Add
dev_<level>_once variants") instead of open-coding the same operation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200102133822.29346-4-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rspi.c