drivers: sensor: Fix bq274xx driver when device pm enabled
Fixes a build error in the bq274xx sensor driver when device power management is enabled. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
parent
324ad2465a
commit
be38a87089
1 changed files with 0 additions and 4 deletions
|
@ -648,10 +648,6 @@ static int bq274xx_gauge_configure(const struct device *dev)
|
|||
return -EIO;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
bq274xx->pm_state = PM_DEVICE_STATE_ACTIVE;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue