forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/accel/mma7455_core.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer
34 * 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.
85 *
96 * UNSUPPORTED hardware features:
107 * - 8-bit mode with different scales
....@@ -271,7 +268,6 @@
271268
272269 indio_dev->info = &mma7455_info;
273270 indio_dev->name = name;
274
- indio_dev->dev.parent = dev;
275271 indio_dev->modes = INDIO_DIRECT_MODE;
276272 indio_dev->channels = mma7455_channels;
277273 indio_dev->num_channels = ARRAY_SIZE(mma7455_channels);