intel: decoder: rename internal function to free name
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 28 Sep 2017 01:37:20 +0000 (02:37 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 1 Nov 2017 17:23:49 +0000 (17:23 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/common/gen_decoder.c

index 760a8769c565afa0fdb4b7f378b2d8afbf30b335..c0d1d8670ba2be1e56d5aae514ecb3506faa5fd6 100644 (file)
@@ -827,7 +827,7 @@ iter_advance_field(struct gen_field_iterator *iter)
 }
 
 static void
-gen_field_decode(struct gen_field_iterator *iter)
+iter_decode_field(struct gen_field_iterator *iter)
 {
    union {
       uint64_t qw;
@@ -937,7 +937,7 @@ gen_field_iterator_init(struct gen_field_iterator *iter,
    iter->p_end = &p[gen_group_get_length(iter->group, iter->p)];
    iter->print_colors = print_colors;
 
-   gen_field_decode(iter);
+   iter_decode_field(iter);
 }
 
 bool
@@ -946,7 +946,7 @@ gen_field_iterator_next(struct gen_field_iterator *iter)
    if (!iter_advance_field(iter))
       return false;
 
-   gen_field_decode(iter);
+   iter_decode_field(iter);
 
    return true;
 }