From 51340b879c2b1be9d6f02c88b37e48610148c129 Mon Sep 17 00:00:00 2001 From: Ricardo Rivera-Matos Date: Mon, 12 Aug 2024 18:31:39 +0000 Subject: [PATCH] drivers: haptics: drv2605: Drops unused drv2605_pm_state Removes an unused enum defining the DRV2605 power states. This enum is dead code so it is being removed. Signed-off-by: Ricardo Rivera-Matos --- drivers/haptics/drv2605.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/haptics/drv2605.c b/drivers/haptics/drv2605.c index 022611bdd9b..75a639e4c69 100644 --- a/drivers/haptics/drv2605.c +++ b/drivers/haptics/drv2605.c @@ -124,12 +124,6 @@ LOG_MODULE_REGISTER(DRV2605, CONFIG_HAPTICS_LOG_LEVEL); #define DRV2605_POWER_UP_DELAY_US 250 -enum drv2605_pm_state { - DRV2605_PM_STATE_SHUTDOWN, - DRV2605_PM_STATE_STANDBY, - DRV2605_PM_STATE_ACTIVE, -}; - struct drv2605_config { struct i2c_dt_spec i2c; struct gpio_dt_spec en_gpio;