diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-01-16 01:00:02 +0900 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 16:27:11 +0000 |
commit | 0b767b31889539fbc31383469317264ebee3cf08 (patch) | |
tree | c94685ce82233a398a29bace0aac600223f54af5 | |
parent | 255ec44451f07334e4c4d54826fc9f2d21025b9e (diff) | |
download | blackbird-op-linux-0b767b31889539fbc31383469317264ebee3cf08.tar.gz blackbird-op-linux-0b767b31889539fbc31383469317264ebee3cf08.zip |
iio: pressure: mpl115: don't set unused i2c clientdata
mpl115 sets i2c clientdata, but it is not used anywhere. So remove it.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/pressure/mpl115.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/mpl115.c b/drivers/iio/pressure/mpl115.c index f5ecd6e19f5d..3e1e33535fe1 100644 --- a/drivers/iio/pressure/mpl115.c +++ b/drivers/iio/pressure/mpl115.c @@ -163,7 +163,6 @@ static int mpl115_probe(struct i2c_client *client, data->client = client; mutex_init(&data->lock); - i2c_set_clientdata(client, indio_dev); indio_dev->info = &mpl115_info; indio_dev->name = id->name; indio_dev->dev.parent = &client->dev; |