hw/block/pflash: Simplify trace_pflash_data_read/write()
commitc1474acd5d284d69d1543713ef00b90b9712619f
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 26 Jun 2019 16:40:09 +0000 (26 18:40 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:16:50 +0000 (2 02:16 +0200)
tree3b25ad7b890d0db6b239db39c37cdf9c68ec0b71
parente8aa2d95ea2015ce95d712543c78e09a0130be3b
hw/block/pflash: Simplify trace_pflash_data_read/write()

Use a field width format to have a single function to log
the different width accesses.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190627202719.17739-4-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/block/trace-events