forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/iio/proximity/rfd77402.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * rfd77402.c - Support for RF Digital RFD77402 Time-of-Flight (distance) sensor
34 *
45 * Copyright 2017 Peter Meerwald-Stadler <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 0x4c
118 *
....@@ -277,7 +274,6 @@
277274 data->client = client;
278275 mutex_init(&data->lock);
279276
280
- indio_dev->dev.parent = &client->dev;
281277 indio_dev->info = &rfd77402_info;
282278 indio_dev->channels = rfd77402_channels;
283279 indio_dev->num_channels = ARRAY_SIZE(rfd77402_channels);