Skip to content

Commit 51340b8

Browse files
rriveramcrusnashif
authored andcommitted
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 <[email protected]>
1 parent d5134ef commit 51340b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/haptics/drv2605.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,6 @@ LOG_MODULE_REGISTER(DRV2605, CONFIG_HAPTICS_LOG_LEVEL);
124124

125125
#define DRV2605_POWER_UP_DELAY_US 250
126126

127-
enum drv2605_pm_state {
128-
DRV2605_PM_STATE_SHUTDOWN,
129-
DRV2605_PM_STATE_STANDBY,
130-
DRV2605_PM_STATE_ACTIVE,
131-
};
132-
133127
struct drv2605_config {
134128
struct i2c_dt_spec i2c;
135129
struct gpio_dt_spec en_gpio;

0 commit comments

Comments
 (0)