2 * STMicroelectronics sensors i2c library driver
4 * Copyright 2012-2013 STMicroelectronics Inc.
6 * Denis Ciocca <denis.ciocca@st.com>
8 * Licensed under the GPL-2.
11 #ifndef ST_SENSORS_I2C_H
12 #define ST_SENSORS_I2C_H
14 #include <linux/i2c.h>
15 #include <linux/iio/common/st_sensors.h>
18 void st_sensors_i2c_configure(struct iio_dev *indio_dev,
19 struct i2c_client *client, struct st_sensor_data *sdata);
22 void st_sensors_of_i2c_probe(struct i2c_client *client,
23 const struct of_device_id *match);
25 static inline void st_sensors_of_i2c_probe(struct i2c_client *client,
26 const struct of_device_id *match)
31 #endif /* ST_SENSORS_I2C_H */