reset: ath79: use devm_reset_controller_register()
commit56865f452a11843e54c215294a436acee31b0c0b
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 1 May 2016 10:36:58 +0000 (1 19:36 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 May 2016 07:37:47 +0000 (30 09:37 +0200)
tree9dab2da83839513223e4dd989236572ecfcf84c1
parent8d5b5d5ce58ee1b90110f4e358eefe3c3a6b08a2
reset: ath79: use devm_reset_controller_register()

Use devm_reset_controller_register() for the reset controller
registration and remove the unregister call from the .remove callback.

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