hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/iio/gyro/ssp_gyro_sensor.c
....@@ -1,16 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
144 */
155
166 #include <linux/iio/common/ssp_sensors.h>
....@@ -118,7 +108,6 @@
118108 spd->type = SSP_GYROSCOPE_SENSOR;
119109
120110 indio_dev->name = ssp_gyro_name;
121
- indio_dev->dev.parent = &pdev->dev;
122111 indio_dev->info = &ssp_gyro_iio_info;
123112 indio_dev->modes = INDIO_BUFFER_SOFTWARE;
124113 indio_dev->channels = ssp_gyro_channels;