]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: rename rx8010_init_client() to rx8010_init()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 17 Sep 2020 11:46:56 +0000 (13:46 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 29 Sep 2020 20:18:10 +0000 (22:18 +0200)
commit9fa7ac05c314c5c13725094b257d98461dcb0213
tree144c415015ebda7eec2438bd34d54f80337dd268
parent04605042fa132b4932b80e4341c198f3ce2f71a0
rtc: rx8010: rename rx8010_init_client() to rx8010_init()

Since the switch to using regmap this function no longer takes the
I2C client struct as argument nor do we even interact with the client
anywhere other than when creating the regmap.

Rename it to a less misleading name: "rx8010_init()".

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