summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorAndy Shevchenko2015-07-27 17:03:59 +0200
committerLee Jones2015-07-28 09:50:42 +0200
commit2e0fed7f7cdc41679e209c5636ad7537dc6210a9 (patch)
treeb6b445d658a1c4f2d2e95f8afcb9402f5807216c /include/linux/device.h
parentDriver core: wakeup the parent device before trying probe (diff)
downloadkernel-qcow2-linux-2e0fed7f7cdc41679e209c5636ad7537dc6210a9.tar.gz
kernel-qcow2-linux-2e0fed7f7cdc41679e209c5636ad7537dc6210a9.tar.xz
kernel-qcow2-linux-2e0fed7f7cdc41679e209c5636ad7537dc6210a9.zip
klist: implement klist_prev()
klist_prev() gets the previous element in the list. It is useful to traverse through the list in reverse order, for example, to provide LIFO (last in first out) variant of access. 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 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions