hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/iio/adc/qcom-spmi-iadc.c
....@@ -1,14 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2012-2014, The Linux Foundation. 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 version 2 and
6
- * only version 2 as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #include <linux/bitops.h>
....@@ -561,8 +553,6 @@
561553 return ret;
562554 }
563555
564
- indio_dev->dev.parent = dev;
565
- indio_dev->dev.of_node = node;
566556 indio_dev->name = pdev->name;
567557 indio_dev->modes = INDIO_DIRECT_MODE;
568558 indio_dev->info = &iadc_info;