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 <rriveram@opensource.cirrus.com>
This commit is contained in:
Ricardo Rivera-Matos 2024-08-12 18:31:39 +00:00 committed by Anas Nashif
parent d5134ef0e3
commit 51340b879c
1 changed files with 0 additions and 6 deletions

View File

@ -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;