diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2022-02-24 14:29:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-03-02 16:38:13 +0300 |
commit | 6270bf1f0197739a9cddaf0a40699a99b7357cb5 (patch) | |
tree | ce3f17324a2f71c8f1889141d1075eca99f444a4 /drivers/crypto/mxs-dcp.c | |
parent | f568cbd9aef24a02b22884d92c154f3af076b383 (diff) | |
download | linux-6270bf1f0197739a9cddaf0a40699a99b7357cb5.tar.xz |
iio: imu: st_lsm6dsx: use dev_to_iio_dev() to get iio_dev struct
dev_get_drvdata() on iio_dev->dev no longer returns the iio_dev.
Use dev_to_iio_dev() to get iio_dev struct.
Fixes: 8b7651f25962 ("iio: iio_device_alloc(): Remove unnecessary self drvdata")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1645702191-9400-1-git-send-email-haibo.chen@nxp.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/crypto/mxs-dcp.c')
0 files changed, 0 insertions, 0 deletions