.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /** |
---|
2 | 3 | * mCube MC3230 3-Axis Accelerometer |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2016 Hans de Goede <hdegoede@redhat.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | 6 | * |
---|
11 | 7 | * IIO driver for mCube MC3230; 7-bit I2C address: 0x4c. |
---|
12 | 8 | */ |
---|
.. | .. |
---|
136 | 132 | data->client = client; |
---|
137 | 133 | i2c_set_clientdata(client, indio_dev); |
---|
138 | 134 | |
---|
139 | | - indio_dev->dev.parent = &client->dev; |
---|
140 | 135 | indio_dev->info = &mc3230_info; |
---|
141 | 136 | indio_dev->name = "mc3230"; |
---|
142 | 137 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|