drivers: sensor: si7210: make PM callback static

The PM action callback is not used 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-02 16:13:48 +01:00 committed by Anas Nashif
commit 79effd7d1a

View file

@ -425,7 +425,7 @@ static const struct sensor_driver_api si7210_api_funcs = {
};
#ifdef CONFIG_PM_DEVICE
int si7210_pm_ctrl(const struct device *dev, enum pm_device_action action)
static int si7210_pm_ctrl(const struct device *dev, enum pm_device_action action)
{
int rc;