linux/drivers/staging/iio/addac/adt7316.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9
 *
 * Copyright 2010 Analog Devices Inc.
 */

#ifndef _ADT7316_H_
#define _ADT7316_H_

#include <linux/types.h>
#include <linux/pm.h>

#define ADT7316_REG_MAX_ADDR

struct adt7316_bus {};

#ifdef CONFIG_PM_SLEEP
extern const struct dev_pm_ops adt7316_pm_ops;
#define ADT7316_PM_OPS
#else
#define ADT7316_PM_OPS
#endif
int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
		  const char *name);

#endif