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:
Gerard Marull-Paretas 2021-11-03 12:25:17 +01:00 committed by Anas Nashif
parent 6d48a8833a
commit cb329bbefe

View file

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