.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * 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 | | - * |
---|
14 | 4 | */ |
---|
15 | 5 | |
---|
16 | 6 | #include <linux/iio/common/ssp_sensors.h> |
---|
.. | .. |
---|
118 | 108 | spd->type = SSP_GYROSCOPE_SENSOR; |
---|
119 | 109 | |
---|
120 | 110 | indio_dev->name = ssp_gyro_name; |
---|
121 | | - indio_dev->dev.parent = &pdev->dev; |
---|
122 | 111 | indio_dev->info = &ssp_gyro_iio_info; |
---|
123 | 112 | indio_dev->modes = INDIO_BUFFER_SOFTWARE; |
---|
124 | 113 | indio_dev->channels = ssp_gyro_channels; |
---|