forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/pressure/mpl3115.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * mpl3115.c - Support for Freescale MPL3115A2 pressure/temperature sensor
34 *
45 * Copyright (c) 2013 Peter Meerwald <pmeerw@pmeerw.net>
5
- *
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.
96 *
107 * (7-bit I2C slave address 0x60)
118 *
....@@ -251,7 +248,6 @@
251248 i2c_set_clientdata(client, indio_dev);
252249 indio_dev->info = &mpl3115_info;
253250 indio_dev->name = id->name;
254
- indio_dev->dev.parent = &client->dev;
255251 indio_dev->modes = INDIO_DIRECT_MODE;
256252 indio_dev->channels = mpl3115_channels;
257253 indio_dev->num_channels = ARRAY_SIZE(mpl3115_channels);