forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/iio/accel/dmard10.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * IIO driver for the 3-axis accelerometer Domintech ARD10.
34 *
45 * Copyright (c) 2016 Hans de Goede <hdegoede@redhat.com>
56 * Copyright (c) 2012 Domintech Technology Co., Ltd
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms and conditions of the GNU General Public License,
9
- * version 2, as published by the Free Software Foundation.
107 */
118
129 #include <linux/module.h>
....@@ -199,7 +196,6 @@
199196 data->client = client;
200197 i2c_set_clientdata(client, indio_dev);
201198
202
- indio_dev->dev.parent = &client->dev;
203199 indio_dev->info = &dmard10_info;
204200 indio_dev->name = "dmard10";
205201 indio_dev->modes = INDIO_DIRECT_MODE;