forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/accel/dmard09.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * IIO driver for the 3-axis accelerometer Domintech DMARD09.
34 *
45 * Copyright (c) 2016, Jelle van der Waa <jelle@vdwaa.nl>
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
146 */
157
168 #include <asm/unaligned.h>
....@@ -124,7 +116,6 @@
124116 }
125117
126118 i2c_set_clientdata(client, indio_dev);
127
- indio_dev->dev.parent = &client->dev;
128119 indio_dev->name = DMARD09_DRV_NAME;
129120 indio_dev->modes = INDIO_DIRECT_MODE;
130121 indio_dev->channels = dmard09_channels;