forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/pressure/t5403.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * t5403.c - Support for EPCOS T5403 pressure/temperature sensor
34 *
45 * Copyright (c) 2014 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 0x77)
118 *
....@@ -239,7 +236,6 @@
239236 i2c_set_clientdata(client, indio_dev);
240237 indio_dev->info = &t5403_info;
241238 indio_dev->name = id->name;
242
- indio_dev->dev.parent = &client->dev;
243239 indio_dev->modes = INDIO_DIRECT_MODE;
244240 indio_dev->channels = t5403_channels;
245241 indio_dev->num_channels = ARRAY_SIZE(t5403_channels);