From 947a32184b866f8dc209204a8d001ccaae97c4da Mon Sep 17 00:00:00 2001 From: fangpeina Date: Fri, 24 May 2024 13:10:31 +0800 Subject: [PATCH] drivers/include: clean up compilation warning about aw86225.c Signed-off-by: fangpeina --- drivers/input/aw86225.c | 91 ----------------------------------------- 1 file changed, 91 deletions(-) diff --git a/drivers/input/aw86225.c b/drivers/input/aw86225.c index 788a5d50b3..5e76088f1c 100644 --- a/drivers/input/aw86225.c +++ b/drivers/input/aw86225.c @@ -238,97 +238,6 @@ static FAR const char g_aw86225_rtp_name[][AW86225_RTP_NAME_MAX] = {"haptics_video_rtp.bin"}, }; -static const unsigned char g_aw86225_reg_access[AW86225_REG_MAX] = -{ - [AW86225_REG_ID] = REG_RD_ACCESS, - [AW86225_REG_SYSST] = REG_RD_ACCESS, - [AW86225_REG_SYSINT] = REG_RD_ACCESS, - [AW86225_REG_SYSINTM] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSST2] = REG_RD_ACCESS, - [AW86225_REG_SYSER] = REG_RD_ACCESS, - [AW86225_REG_PLAYCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PLAYCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PLAYCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG5] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG6] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG7] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG8] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG9] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG10] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG11] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG12] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG13] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_WAVCFG14] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG5] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG6] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG7] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG8] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG9] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG10] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG11] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG12] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTCFG13] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_CONTRD14] = REG_RD_ACCESS, - [AW86225_REG_CONTRD15] = REG_RD_ACCESS, - [AW86225_REG_CONTRD16] = REG_RD_ACCESS, - [AW86225_REG_CONTRD17] = REG_RD_ACCESS, - [AW86225_REG_CONTRD18] = REG_RD_ACCESS, - [AW86225_REG_CONTRD19] = REG_RD_ACCESS, - [AW86225_REG_CONTRD20] = REG_RD_ACCESS, - [AW86225_REG_CONTRD21] = REG_RD_ACCESS, - [AW86225_REG_RTPCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RTPCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RTPCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RTPCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RTPCFG5] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RTPDATA] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG5] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG6] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG7] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRGCFG8] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_GLBCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_GLBCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_GLBCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_GLBCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_GLBRD5] = REG_RD_ACCESS, - [AW86225_REG_RAMADDRH] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RAMADDRL] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_RAMDATA] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL5] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL6] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_SYSCTRL7] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PWMCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PWMCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PWMCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_PWMCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_DETCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_DETCFG2] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_DET_RL] = REG_RD_ACCESS, - [AW86225_REG_DET_OS] = REG_RD_ACCESS, - [AW86225_REG_DET_VBAT] = REG_RD_ACCESS, - [AW86225_REG_DET_TEST] = REG_RD_ACCESS, - [AW86225_REG_DET_LO] = REG_RD_ACCESS, - [AW86225_REG_TRIMCFG1] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRIMCFG3] = REG_RD_ACCESS | REG_WR_ACCESS, - [AW86225_REG_TRIMCFG4] = REG_RD_ACCESS | REG_WR_ACCESS, -}; - /**************************************************************************** * Private Functions ****************************************************************************/