summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-09-28 02:37:20 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-11-01 17:23:49 +0000
commit69d158573a174fb2a2ece6500d4572a3cff1c74f (patch)
tree08b5eb7e9624f676fb291150503119df446dcc0f
parent20156931bf456932a4b53ad6685da42a7ad33ec2 (diff)
intel: decoder: rename internal function to free name
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
-rw-r--r--src/intel/common/gen_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 760a8769c5..c0d1d8670b 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -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;
}