iio:common: Set the device pointer into ST common sensors library

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Denis CIOCCA
2014-10-03 17:35:41 +02:00
committed by Jonathan Cameron
parent a1dcf42927
commit 7be178bb48
10 changed files with 2 additions and 8 deletions

View File

@@ -51,7 +51,6 @@ static int st_press_i2c_probe(struct i2c_client *client,
return -ENOMEM;
press_data = iio_priv(indio_dev);
press_data->dev = &client->dev;
st_sensors_of_i2c_probe(client, st_press_of_match);
st_sensors_i2c_configure(indio_dev, client, press_data);