regmap: Remove duplicate `type` field from regmap `regcache_sync` trace event
authorPhilippe Duplessis-Guindon <pduplessis@efficios.com>
Tue, 24 Nov 2020 13:57:30 +0000 (08:57 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 24 Nov 2020 14:14:00 +0000 (14:14 +0000)
I have an error saying that `regcache_sync` has 2 fields named `type`
while using libtraceevent.

Erase the `int field` type, which is not assigned. This field is
introduced by mistake and this commit removes it.

Fixes: 593600890110c ("regmap: Add the regcache_sync trace event")
Signed-off-by: Philippe Duplessis-Guindon <pduplessis@efficios.com>
Link: https://lore.kernel.org/r/20201124135730.9185-1-pduplessis@efficios.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/trace.h

index d4066fa079ab6f0c7737fd0846692095e401d1be..9abee14df9eea2d50213389ff745db92961cbac8 100644 (file)
@@ -126,7 +126,6 @@ TRACE_EVENT(regcache_sync,
                __string(       name,           regmap_name(map)        )
                __string(       status,         status                  )
                __string(       type,           type                    )
-               __field(        int,            type                    )
        ),
 
        TP_fast_assign(