linux/include/linux/hwmon-sysfs.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  hwmon-sysfs.h - hardware monitoring chip driver sysfs defines
 *
 *  Copyright (C) 2005 Yani Ioannou <[email protected]>
 */
#ifndef _LINUX_HWMON_SYSFS_H
#define _LINUX_HWMON_SYSFS_H

#include <linux/device.h>
#include <linux/kstrtox.h>

struct sensor_device_attribute{};
#define to_sensor_dev_attr(_dev_attr)

#define SENSOR_ATTR(_name, _mode, _show, _store, _index)

#define SENSOR_ATTR_RO(_name, _func, _index)

#define SENSOR_ATTR_RW(_name, _func, _index)

#define SENSOR_ATTR_WO(_name, _func, _index)

#define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index)

#define SENSOR_DEVICE_ATTR_RO(_name, _func, _index)

#define SENSOR_DEVICE_ATTR_RW(_name, _func, _index)

#define SENSOR_DEVICE_ATTR_WO(_name, _func, _index)

struct sensor_device_attribute_2 {};
#define to_sensor_dev_attr_2(_dev_attr)

#define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)

#define SENSOR_ATTR_2_RO(_name, _func, _nr, _index)

#define SENSOR_ATTR_2_RW(_name, _func, _nr, _index)

#define SENSOR_ATTR_2_WO(_name, _func, _nr, _index)

#define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index)

#define SENSOR_DEVICE_ATTR_2_RO(_name, _func, _nr, _index)

#define SENSOR_DEVICE_ATTR_2_RW(_name, _func, _nr, _index)

#define SENSOR_DEVICE_ATTR_2_WO(_name, _func, _nr, _index)

#endif /* _LINUX_HWMON_SYSFS_H */