input: sensors: accel: mc3230: Fix compilation error when enable early suspend

drivers/input/sensors/accel/mc3230.c:150:29: error: unused variable 'mc3230_early_suspend' [-Werror,-Wunused-variable]

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I01c26adcd5750343f938918113cb2bab70319555
This commit is contained in:
Finley Xiao
2024-03-12 10:52:34 +08:00
committed by Tao Huang
parent 23277d7fd2
commit a213618173

View File

@@ -146,10 +146,6 @@ static int g_value;
/* Addresses to scan -- protected by sense_data_mutex */
static struct i2c_client *this_client;
#ifdef CONFIG_HAS_EARLYSUSPEND
static struct early_suspend mc3230_early_suspend;
#endif
/* status */
#define MC3230_OPEN 1
#define MC3230_CLOSE 0