watchdog: mpc8xxx: use dynamic memory for device specific data
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 12 Aug 2015 08:15:56 +0000 (10:15 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 9 Sep 2015 19:37:29 +0000 (21:37 +0200)
commit7997ebad4d747ff5561cb5ec0c7423e0d4e628d5
tree49b3e2ed1ea5a058d7d454a59cfd611e9eb5ed59
parentde5f71222bd544558d81701454eb457b295de96e
watchdog: mpc8xxx: use dynamic memory for device specific data

Instead of relying on global static memory dynamically allocate the
needed data. This has the benefit of some saved bytes if the driver is
not in use and making it possible to bind more than one device (even
though this has no known use case).

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mpc8xxx_wdt.c
This page took 0.026173 seconds and 5 git commands to generate.