hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/iio/humidity/si7005.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * si7005.c - Support for Silabs Si7005 humidity and temperature sensor
34 *
45 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5
- *
6
- * This file is subject to the terms and conditions of version 2 of
7
- * the GNU General Public License. See the file COPYING in the main
8
- * directory of this archive for more details.
96 *
107 * (7-bit I2C slave address 0x40)
118 *
....@@ -145,7 +142,6 @@
145142 data->client = client;
146143 mutex_init(&data->lock);
147144
148
- indio_dev->dev.parent = &client->dev;
149145 indio_dev->name = dev_name(&client->dev);
150146 indio_dev->modes = INDIO_DIRECT_MODE;
151147 indio_dev->info = &si7005_info;