]> 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)
commitec07be2840b37fdd92ad15a7b0e6341385280669
tree08a5880c550d9d1c5ecf88a2ea225c2aeae348de
parent061e786044a34342b3bbf63fae7628e2b03215e2
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