rtc: omap: use devm_pinctrl_register()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 9 Nov 2020 16:34:02 +0000 (17:34 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 Nov 2020 11:50:11 +0000 (12:50 +0100)
commit7c45c9741ab2063e76ed716ac7aae05f97143f9c
tree37176d7e5e30c08f47178560a0a5a07219b40236
parent7d9d4868ec0b34dbfc74b3075dc1e896cc98f783
rtc: omap: use devm_pinctrl_register()

Use a managed variant of pinctrl_register(). This way we can shorten
the remove() callback as well as drop a goto label from probe().

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