From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4EDD189B.8000503@kernel.org> Date: Mon, 05 Dec 2011 19:16:43 +0000 From: Jonathan Cameron MIME-Version: 1.0 To: Lars-Peter Clausen CC: linux-iio@vger.kernel.org, Jonathan Cameron Subject: Re: [PATCH 4/5] staging;iio: move iio data return types into types.h for use by inkern References: <1322399642-22924-1-git-send-email-jic23@kernel.org> <1322399642-22924-5-git-send-email-jic23@kernel.org> <4EDC97D8.5080401@metafoo.de> In-Reply-To: <4EDC97D8.5080401@metafoo.de> Content-Type: text/plain; charset=ISO-8859-1 List-ID: On 12/05/2011 10:07 AM, Lars-Peter Clausen wrote: > On 11/27/2011 02:14 PM, Jonathan Cameron wrote: >> From: Jonathan Cameron >> >> In kernel interfaces need these, so make them available. >> >> Signed-off-by: Jonathan Cameron >> --- >> drivers/staging/iio/iio.h | 6 ------ >> 1 files changed, 0 insertions(+), 6 deletions(-) >> >> diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h >> index 4650a2b..e30d33d 100644 >> --- a/drivers/staging/iio/iio.h >> +++ b/drivers/staging/iio/iio.h >> @@ -197,12 +197,6 @@ static inline s64 iio_get_time_ns(void) >> #define INDIO_ALL_BUFFER_MODES \ >> (INDIO_BUFFER_TRIGGERED | INDIO_BUFFER_HARDWARE) >> >> -/* Vast majority of this is set by the industrialio subsystem on a >> - * call to iio_device_register. */ >> -#define IIO_VAL_INT 1 >> -#define IIO_VAL_INT_PLUS_MICRO 2 >> -#define IIO_VAL_INT_PLUS_NANO 3 >> - >> struct iio_trigger; /* forward declaration */ >> struct iio_dev; >> > > The second part of this patch which adds the here removed defines to types.h > seems to have slipped into patch 5. Excellent catch of an idiot mistake! Thanks. They are now in this patch. Thanks for looking at all of these. Jonathan