From: Dmitry Torokhov Date: Sat, 23 Feb 2013 21:11:14 +0000 (-0800) Subject: devres: allow adding custom actions to the stack X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~78^2^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b0c58048d2c8c6f4955c37f670125b2792cd14;p=pandora-kernel.git devres: allow adding custom actions to the stack Sometimes drivers need to execute one-off actions in their error handling or device teardown paths. An example would be toggling a GPIO line to reset the controlled device into predefined state. To allow performing such actions when using managed resources let's allow adding them to stack/group of devres resources. Acked-by: Tejun Heo Acked-by: Greg Kroah-Hartman Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed