]> 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)
commite3d894dfec9668071874cd84e9de4563802161e4
tree51b505335dc10d53932ae7ac361b64c5ce7c9d1a
parent22abf2ac81403d406eb380249b5ed71cd689d191
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