From: Andy Shevchenko Date: Mon, 27 Jul 2015 15:04:00 +0000 (+0300) Subject: driver core: implement device_for_each_child_reverse() X-Git-Tag: omap-for-v4.3/fixes-rc1~93^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d060aeb72113cda0acf906bfe26914fc689506a;p=pandora-kernel.git driver core: implement device_for_each_child_reverse() The new function device_for_each_child_reverse() is helpful to traverse the registered devices in a reversed order, e.g. in the case when an operation on each device should be done first on the last added device, then on one before last and so on. Signed-off-by: Andy Shevchenko Acked-by: Greg Kroah-Hartman Signed-off-by: Lee Jones --- Reading git-diff-tree failed