forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/gyro/adxrs450.c
....@@ -1,9 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ADXRS450/ADXRS453 Digital Output Gyroscope Driver
34 *
45 * Copyright 2011 Analog Devices Inc.
5
- *
6
- * Licensed under the GPL-2.
76 */
87
98 #include <linux/interrupt.h>
....@@ -425,7 +424,6 @@
425424 /* This is only used for removal purposes */
426425 spi_set_drvdata(spi, indio_dev);
427426
428
- indio_dev->dev.parent = &spi->dev;
429427 indio_dev->info = &adxrs450_info;
430428 indio_dev->modes = INDIO_DIRECT_MODE;
431429 indio_dev->channels =