reset: sunxi: use devm_reset_controller_register()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 1 May 2016 10:37:01 +0000 (19:37 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 May 2016 07:37:47 +0000 (09:37 +0200)
commit2f38a88c7c9b0bf1407eba3b0e8e74abfdbe446a
tree45f14b14dda933bfc03750a316625e613ce8762d
parent1b1447f49312ac0777fcbc85f0d70b809e458a48
reset: sunxi: 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-sunxi.c