mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 22:13:50 +07:00
05c09e3cee
It's unused so far, so it can be removed. Also makes sense to remove it to discourage weird uses of this call during review. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
21 lines
602 B
C
21 lines
602 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Industrial I/O in kernel hardware consumer interface
|
|
*
|
|
* Copyright 2017 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*/
|
|
|
|
#ifndef LINUX_IIO_HW_CONSUMER_H
|
|
#define LINUX_IIO_HW_CONSUMER_H
|
|
|
|
struct iio_hw_consumer;
|
|
|
|
struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev);
|
|
void iio_hw_consumer_free(struct iio_hw_consumer *hwc);
|
|
struct iio_hw_consumer *devm_iio_hw_consumer_alloc(struct device *dev);
|
|
int iio_hw_consumer_enable(struct iio_hw_consumer *hwc);
|
|
void iio_hw_consumer_disable(struct iio_hw_consumer *hwc);
|
|
|
|
#endif
|