diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-22 18:54:10 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-22 18:54:10 +0400 |
commit | 8deab4754c478149f8a139d6f54dc8b3ff665724 (patch) | |
tree | 85e3c6907fce6a83440cce2f7b5e759051966138 /drivers/iio | |
parent | d84a2b0d6fecbb6e29875dd9dc97cdcdaa15744a (diff) | |
download | linux-8deab4754c478149f8a139d6f54dc8b3ff665724.tar.xz |
staging: iio: fix up merge error
Fix up a build merge error in drivers/iio/accel/bma180.c that I caused.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/accel/bma180.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c index f081b007f7d2..1096da327130 100644 --- a/drivers/iio/accel/bma180.c +++ b/drivers/iio/accel/bma180.c @@ -748,7 +748,7 @@ static int bma180_probe(struct i2c_client *client, data->trig->dev.parent = &client->dev; data->trig->ops = &bma180_trigger_ops; iio_trigger_set_drvdata(data->trig, indio_dev); - indio_dev->trig = iio_trigger_get(trig); + indio_dev->trig = iio_trigger_get(data->trig); ret = iio_trigger_register(data->trig); if (ret) |