drivers: sensor: bme280: make PM action callback static
The PM action callback is never accessed externally, so make it static. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
6d48a8833a
commit
cb329bbefe
|
@ -394,7 +394,8 @@ static int bme280_chip_init(const struct device *dev)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
int bme280_pm_action(const struct device *dev, enum pm_device_action action)
|
||||
static int bme280_pm_action(const struct device *dev,
|
||||
enum pm_device_action action)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue