summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/bmc150_magn.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2021-04-08 18:13:08 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2021-04-08 18:13:09 +1000
commit187da584525964b3e32bccecb7bd0ac2104e687a (patch)
treee33e84293e31280888435dc692ce5e9e74a12ba5 /drivers/iio/magnetometer/bmc150_magn.c
parente7a9ddf70ae6cd0bee0b095c4294c79b7e096734 (diff)
parentf9b9263a25dc3d2eaaa829e207434db6951ca7bc (diff)
downloadlinux-next-187da584525964b3e32bccecb7bd0ac2104e687a.tar.gz
Merge remote-tracking branch 'staging/staging-next'
Diffstat (limited to 'drivers/iio/magnetometer/bmc150_magn.c')
-rw-r--r--drivers/iio/magnetometer/bmc150_magn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/bmc150_magn.c b/drivers/iio/magnetometer/bmc150_magn.c
index b2f3129e1b4f..00f9766bad5c 100644
--- a/drivers/iio/magnetometer/bmc150_magn.c
+++ b/drivers/iio/magnetometer/bmc150_magn.c
@@ -922,7 +922,6 @@ int bmc150_magn_probe(struct device *dev, struct regmap *regmap,
goto err_poweroff;
}
- data->dready_trig->dev.parent = dev;
data->dready_trig->ops = &bmc150_magn_trigger_ops;
iio_trigger_set_drvdata(data->dready_trig, indio_dev);
ret = iio_trigger_register(data->dready_trig);