reset: socfpga: use devm_reset_controller_register()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 1 May 2016 10:37:02 +0000 (19:37 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 May 2016 07:37:47 +0000 (09:37 +0200)
commitdc22e08ef71462e56e51e96359105a75097e745c
tree29bac45558334ead0a1be820b87daccb9ed7a25c
parent2f38a88c7c9b0bf1407eba3b0e8e74abfdbe446a
reset: socfpga: use devm_reset_controller_register()

Use devm_reset_controller_register() for the reset controller
registration and drop the .remove callback.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-socfpga.c