]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: rename ret to err in rx8010_set_time()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Sep 2020 15:45:53 +0000 (17:45 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Sep 2020 08:50:37 +0000 (10:50 +0200)
commit136a0a4b85f76fdf862b328fa3b74ef89640f545
tree51b505335dc10d53932ae7ac361b64c5ce7c9d1a
parent18c1793b30352cc46fc5382ae0f0d991d858dae8
rtc: rx8010: rename ret to err in rx8010_set_time()

All other functions in this driver use 'err' for integer return values.
Do the same in rx8010_set_time() for consistency.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200914154601.32245-7-brgl@bgdev.pl
drivers/rtc/rtc-rx8010.c