0001
0002
0003
0004
0005
0006 #ifndef _HID_SENSOR_TRIGGER_H
0007 #define _HID_SENSOR_TRIGGER_H
0008
0009 #include <linux/pm.h>
0010 #include <linux/pm_runtime.h>
0011
0012 struct hid_sensor_common;
0013 struct iio_dev;
0014
0015 extern const struct dev_pm_ops hid_sensor_pm_ops;
0016
0017 int hid_sensor_setup_trigger(struct iio_dev *indio_dev, const char *name,
0018 struct hid_sensor_common *attrb);
0019 void hid_sensor_remove_trigger(struct iio_dev *indio_dev,
0020 struct hid_sensor_common *attrb);
0021 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);
0022
0023 #endif