e435bc191f
This provides only very minimal support for this device. Note that an alternate driver has been posted to the input mailing list. When the original LMKL discussion that led to the descision to develop IIO occured, the question on whether the differing requirements of IIO and input drivers made it a good idea to have unified drivers was left as an open question. It still is. All opinions on this question welcome. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 lines
418 B
C
14 lines
418 B
C
/*
|
|
* adc.h - sysfs attributes associated with ADCs
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
* the Free Software Foundation.
|
|
*
|
|
* Copyright (c) 2008 Jonathan Cameron <jic23@cam.ac.uk>
|
|
*
|
|
*/
|
|
|
|
#define IIO_DEV_ATTR_ADC(_num, _show, _addr) \
|
|
IIO_DEVICE_ATTR(adc_##_num, S_IRUGO, _show, NULL, _addr)
|