forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/accel/mma7660.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * Freescale MMA7660FC 3-Axis Accelerometer
34 *
45 * Copyright (c) 2016, Intel Corporation.
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 * IIO driver for Freescale MMA7660FC; 7-bit I2C address: 0x4c.
118 */
....@@ -191,7 +188,6 @@
191188 mutex_init(&data->lock);
192189 data->mode = MMA7660_MODE_STANDBY;
193190
194
- indio_dev->dev.parent = &client->dev;
195191 indio_dev->info = &mma7660_info;
196192 indio_dev->name = MMA7660_DRIVER_NAME;
197193 indio_dev->modes = INDIO_DIRECT_MODE;