mfd: reduce stack usage in mfd-core.c
authorIan Molton <spyro@f2s.com>
Fri, 25 Jul 2008 21:59:29 +0000 (22:59 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 19 Oct 2008 20:54:09 +0000 (22:54 +0200)
commita87903f3b4fdbb2088d50a12eef872a1b3fa2ba4
tree4bf292c607ed026110939f8d3380755a9d7ba415
parent0cfd81031a26717fe14380d18275f8e217571615
mfd: reduce stack usage in mfd-core.c

This patch moves the allocation of the resources off the stack in
mfd_add_device().

Signed-off-by: Ian Molton <spyro@f2s.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/mfd-core.c