forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/pressure/mpl115.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * mpl115.c - Support for Freescale MPL115A pressure/temperature sensor
34 *
45 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
56 *
6
- * This file is subject to the terms and conditions of version 2 of
7
- * the GNU General Public License. See the file COPYING in the main
8
- * directory of this archive for more details.
9
- *
107 * TODO: shutdown pin
11
- *
128 */
139
1410 #include <linux/module.h>
....@@ -164,7 +160,6 @@
164160
165161 indio_dev->info = &mpl115_info;
166162 indio_dev->name = name;
167
- indio_dev->dev.parent = dev;
168163 indio_dev->modes = INDIO_DIRECT_MODE;
169164 indio_dev->channels = mpl115_channels;
170165 indio_dev->num_channels = ARRAY_SIZE(mpl115_channels);