.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * MXC6255 - MEMSIC orientation sensing accelerometer |
---|
3 | 4 | * |
---|
4 | 5 | * 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. |
---|
9 | 6 | * |
---|
10 | 7 | * IIO driver for MXC6255 (7-bit I2C slave address 0x15). |
---|
11 | 8 | */ |
---|
.. | .. |
---|
141 | 138 | data->regmap = regmap; |
---|
142 | 139 | |
---|
143 | 140 | indio_dev->name = MXC6255_DRV_NAME; |
---|
144 | | - indio_dev->dev.parent = &client->dev; |
---|
145 | 141 | indio_dev->channels = mxc6255_channels; |
---|
146 | 142 | indio_dev->num_channels = ARRAY_SIZE(mxc6255_channels); |
---|
147 | 143 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|