forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/staging/iio/addac/adt7316.h
....@@ -1,9 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
23 * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9
34 *
45 * Copyright 2010 Analog Devices Inc.
5
- *
6
- * Licensed under the GPL-2 or later.
76 */
87
98 #ifndef _ADT7316_H_
....@@ -17,7 +16,6 @@
1716 struct adt7316_bus {
1817 void *client;
1918 int irq;
20
- int irq_flags;
2119 int (*read)(void *client, u8 reg, u8 *data);
2220 int (*write)(void *client, u8 reg, u8 val);
2321 int (*multi_read)(void *client, u8 first_reg, u8 count, u8 *data);
....@@ -31,6 +29,6 @@
3129 #define ADT7316_PM_OPS NULL
3230 #endif
3331 int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
34
- const char *name);
32
+ const char *name);
3533
3634 #endif