reset: use kref for reference counting
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 31 May 2017 15:42:29 +0000 (17:42 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 6 Jun 2017 07:39:20 +0000 (09:39 +0200)
commitd25e4334c2900f15251f16c8ffc5151db800b2aa
tree5b50492846d5f094bddc0be47bd875f614e31dd5
parentcae285ea12b54adb99fb758f9edc0333606e4f89
reset: use kref for reference counting

Use kref for reference counting and enjoy the advantages of refcount_t.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c