hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/iio/accel/mxc6255.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * MXC6255 - MEMSIC orientation sensing accelerometer
34 *
45 * Copyright (c) 2015, 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 MXC6255 (7-bit I2C slave address 0x15).
118 */
....@@ -141,7 +138,6 @@
141138 data->regmap = regmap;
142139
143140 indio_dev->name = MXC6255_DRV_NAME;
144
- indio_dev->dev.parent = &client->dev;
145141 indio_dev->channels = mxc6255_channels;
146142 indio_dev->num_channels = ARRAY_SIZE(mxc6255_channels);
147143 indio_dev->modes = INDIO_DIRECT_MODE;