Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux...
[pandora-kernel.git] / drivers / staging / iio / adc / adc.h
1 /*
2  * adc.h - sysfs attributes associated with ADCs
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 2 as published by
6  * the Free Software Foundation.
7  *
8  * Copyright (c) 2008 Jonathan Cameron <jic23@cam.ac.uk>
9  *
10  */
11
12 #define IIO_DEV_ATTR_ADC(_num, _show, _addr)                    \
13   IIO_DEVICE_ATTR(adc_##_num, S_IRUGO, _show, NULL, _addr)