| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9 |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2010 Analog Devices Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * Licensed under the GPL-2 or later. |
|---|
| 7 | 6 | */ |
|---|
| 8 | 7 | |
|---|
| 9 | 8 | #ifndef _ADT7316_H_ |
|---|
| .. | .. |
|---|
| 17 | 16 | struct adt7316_bus { |
|---|
| 18 | 17 | void *client; |
|---|
| 19 | 18 | int irq; |
|---|
| 20 | | - int irq_flags; |
|---|
| 21 | 19 | int (*read)(void *client, u8 reg, u8 *data); |
|---|
| 22 | 20 | int (*write)(void *client, u8 reg, u8 val); |
|---|
| 23 | 21 | int (*multi_read)(void *client, u8 first_reg, u8 count, u8 *data); |
|---|
| .. | .. |
|---|
| 31 | 29 | #define ADT7316_PM_OPS NULL |
|---|
| 32 | 30 | #endif |
|---|
| 33 | 31 | int adt7316_probe(struct device *dev, struct adt7316_bus *bus, |
|---|
| 34 | | - const char *name); |
|---|
| 32 | + const char *name); |
|---|
| 35 | 33 | |
|---|
| 36 | 34 | #endif |
|---|