diff options
author | Denis CIOCCA <denis.ciocca@st.com> | 2014-10-03 17:35:41 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 11:26:21 +0100 |
commit | 7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9 (patch) | |
tree | d496c59b2d909757276601a35c722b830f81e955 /drivers/iio/accel/st_accel_i2c.c | |
parent | a1dcf42927a3eebe749b14178441889ef3887ceb (diff) | |
download | linux-7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9.tar.bz2 |
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>
Diffstat (limited to 'drivers/iio/accel/st_accel_i2c.c')
-rw-r--r-- | drivers/iio/accel/st_accel_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c index 40adc7e88a39..c7246bdd30b9 100644 --- a/drivers/iio/accel/st_accel_i2c.c +++ b/drivers/iio/accel/st_accel_i2c.c @@ -79,7 +79,6 @@ static int st_accel_i2c_probe(struct i2c_client *client, return -ENOMEM; adata = iio_priv(indio_dev); - adata->dev = &client->dev; st_sensors_of_i2c_probe(client, st_accel_of_match); st_sensors_i2c_configure(indio_dev, client, adata); |