watchdog: xilinx: Allocate private structure per device
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Feb 2014 13:41:19 +0000 (14:41 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:29:11 +0000 (13:29 +0200)
commit9066317178ca87b9d958f801c8fcf784ec31c6c3
tree47f8b9b0b2cf86c0c8ac8e9742ad4143c51e9cd0
parentffb8eee4f140bbfc333381168d6fe1a7e7dc7af7
watchdog: xilinx: Allocate private structure per device

Only one watchdog could be used by this driver.
Create driver private data structure and move there
all variables for one instance.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c