Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / iio / common / hid-sensors / hid-sensor-trigger.h
blobbb45cc89e5515317ca0a0a64179630224303ca58
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * HID Sensors Driver
4 * Copyright (c) 2012, Intel Corporation.
5 */
6 #ifndef _HID_SENSOR_TRIGGER_H
7 #define _HID_SENSOR_TRIGGER_H
9 #include <linux/pm.h>
10 #include <linux/pm_runtime.h>
12 extern const struct dev_pm_ops hid_sensor_pm_ops;
14 int hid_sensor_setup_trigger(struct iio_dev *indio_dev, const char *name,
15 struct hid_sensor_common *attrb);
16 void hid_sensor_remove_trigger(struct iio_dev *indio_dev,
17 struct hid_sensor_common *attrb);
18 int hid_sensor_power_state(struct hid_sensor_common *st, bool state);
20 #endif