reset: lpc18xx: get rid of global variables for restart notifier
authorJoachim Eastwood <manabian@gmail.com>
Sat, 20 Feb 2016 19:06:49 +0000 (20:06 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 30 Mar 2016 13:42:07 +0000 (15:42 +0200)
commit773fe72630c8aca874ec8a07ebacace4ae305a02
treee9dd74a807df1e5aa97f246d5367531c4b6a5b57
parent0b52297f2288ca239e598afe6c92db83d8d2bfcd
reset: lpc18xx: get rid of global variables for restart notifier

Moving the notifier_block into the drivers priv struct allows us
to retrive the priv struct with container_of and remove the
global variables.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-lpc18xx.c