diff options
author | Andy Shevchenko <[email protected]> | 2022-11-23 16:48:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-29 08:56:09 +0100 |
commit | a9efc04cfd05690e91279f41c2325c46335c43ef (patch) | |
tree | f4cb63d94e82ec9f5138f43ffaaf0098e9bc1f5b /lib/mpi/mpiutil.c | |
parent | 944fe915d00d3cb1bacb1e77cabfb6dc82e6f8b8 (diff) |
i915: Move list_count() to list.h for broader use
Some of the existing users, and definitely will be new ones, want to
count existing nodes in the list. Provide a generic API for that by
moving code from i915 to list.h.
Reviewed-by: Lucas De Marchi <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions