hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/iio/accel/da311.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * IIO driver for the MiraMEMS DA311 3-axis accelerometer
34 *
45 * Copyright (c) 2016 Hans de Goede <hdegoede@redhat.com>
56 * Copyright (c) 2011-2013 MiraMEMS Sensing 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>
....@@ -234,7 +231,6 @@
234231 data->client = client;
235232 i2c_set_clientdata(client, indio_dev);
236233
237
- indio_dev->dev.parent = &client->dev;
238234 indio_dev->info = &da311_info;
239235 indio_dev->name = "da311";
240236 indio_dev->modes = INDIO_DIRECT_MODE;