scripts/gdb: convert modules usage to lists functions
authorKieran Bingham <kieran.bingham@linaro.org>
Mon, 23 May 2016 23:24:45 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit619ccaf3e94958485fd237000c24e06bce686bd2
treecd6b96e67536750fc550ad4daba2730aea2b65e1
parenta84be61d0e38034634e7cbe076179cc6f1c16d22
scripts/gdb: convert modules usage to lists functions

Simplify the module list functions with the new list_for_each_entry
abstractions

Link: http://lkml.kernel.org/r/ad0101c9391088608166fcec26af179868973d86.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/modules.py