diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-07-27 18:04:00 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-07-28 08:50:42 +0100 |
commit | 3d060aeb72113cda0acf906bfe26914fc689506a (patch) | |
tree | 683028071415f9724d618e8a4f84124a10111a6d /drivers/mfd | |
parent | 2e0fed7f7cdc41679e209c5636ad7537dc6210a9 (diff) | |
download | talos-op-linux-3d060aeb72113cda0acf906bfe26914fc689506a.tar.gz talos-op-linux-3d060aeb72113cda0acf906bfe26914fc689506a.zip |
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 <andriy.shevchenko@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions