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 <[email protected]> > --- > Cc: Havard Skinnemoen <[email protected]> > Cc: Tyrone Ting <[email protected]> > Cc: [email protected] > Cc: [email protected] > --- > 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é <[email protected]>
