forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/iio/pressure/abp060mg.c
....@@ -1,15 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2016 - Marcin Malagowski <mrc@bourne.st>
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.
134 */
145 #include <linux/delay.h>
156 #include <linux/device.h>
....@@ -203,7 +194,6 @@
203194
204195 abp060mg_init_device(indio_dev, cfg_id);
205196
206
- indio_dev->dev.parent = &client->dev;
207197 indio_dev->name = dev_name(&client->dev);
208198 indio_dev->modes = INDIO_DIRECT_MODE;
209199 indio_dev->info = &abp060mg_info;