On 8/6/21 11:11 PM, Eduardo Habkost wrote: > Use DECLARE_CLASS_CHECKERS instead of defining the > NPCM7XX_OTP_CLASS and NPCM7XX_OTP_GET_CLASS macros manually. > > These changes had to be done manually because the typedef and the > existing macro definitions were in different files. > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > Cc: Havard Skinnemoen <hskinnem...@google.com> > Cc: Tyrone Ting <kft...@nuvoton.com> > Cc: qemu-...@nongnu.org > Cc: qemu-devel@nongnu.org > --- > include/hw/nvram/npcm7xx_otp.h | 5 +++-- > hw/nvram/npcm7xx_otp.c | 5 ----- > 2 files changed, 3 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>