]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: switch to using the preferred i2c API
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Sep 2020 15:45:59 +0000 (17:45 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Sep 2020 08:50:38 +0000 (10:50 +0200)
commitcf2307ded4f178692dee2a9ac644d54c925f623a
tree08a5880c550d9d1c5ecf88a2ea225c2aeae348de
parent4ae4df804c68966286610a337a3837844ada0435
rtc: rx8010: switch to using the preferred i2c API

We should generally use probe_new instead of probe when registering i2c
drivers. Convert rx8010 to using it.

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-13-brgl@bgdev.pl
drivers/rtc/rtc-rx8010.c