.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer |
---|
3 | 4 | * Copyright 2015 Joachim Eastwood <manabian@gmail.com> |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | * |
---|
9 | 6 | * UNSUPPORTED hardware features: |
---|
10 | 7 | * - 8-bit mode with different scales |
---|
.. | .. |
---|
271 | 268 | |
---|
272 | 269 | indio_dev->info = &mma7455_info; |
---|
273 | 270 | indio_dev->name = name; |
---|
274 | | - indio_dev->dev.parent = dev; |
---|
275 | 271 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
276 | 272 | indio_dev->channels = mma7455_channels; |
---|
277 | 273 | indio_dev->num_channels = ARRAY_SIZE(mma7455_channels); |
---|