Re: [PATCH] iio: Move IIO Dummy Driver out of staging

From: Jonathan Cameron
Date: Sat Nov 21 2015 - 13:23:52 EST


On 21/11/15 18:15, Lars-Peter Clausen wrote:
> On 10/09/2015 03:31 PM, Cristina Opriceana wrote:
>> diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig
>> index 6d5b38d..85de198 100644
>> --- a/drivers/staging/iio/Kconfig
>> +++ b/drivers/staging/iio/Kconfig
>> @@ -17,32 +17,32 @@ source "drivers/staging/iio/meter/Kconfig"
>> source "drivers/staging/iio/resolver/Kconfig"
>> source "drivers/staging/iio/trigger/Kconfig"
>>
>> -config IIO_DUMMY_EVGEN
>> - tristate
>> -
>> -config IIO_SIMPLE_DUMMY
>> - tristate "An example driver with no hardware requirements"
>> - help
>> - Driver intended mainly as documentation for how to write
>> - a driver. May also be useful for testing userspace code
>> - without hardware.
>> -
>> -if IIO_SIMPLE_DUMMY
>> -
>> -config IIO_SIMPLE_DUMMY_EVENTS
>> - bool "Event generation support"
>> - select IIO_DUMMY_EVGEN
>> - help
>> - Add some dummy events to the simple dummy driver.
>> -
>> -config IIO_SIMPLE_DUMMY_BUFFER
>> - bool "Buffered capture support"
>> - select IIO_BUFFER
>> - select IIO_TRIGGER
>> - select IIO_KFIFO_BUF
>> - help
>> - Add buffered data capture to the simple dummy driver.
>> -
>> -endif # IIO_SIMPLE_DUMMY
>> +#config IIO_DUMMY_EVGEN
>> +# tristate
>> +#
>> +#config IIO_SIMPLE_DUMMY
>> +# tristate "An example driver with no hardware requirements"
>> +# help
>> +# Driver intended mainly as documentation for how to write
>> +# a driver. May also be useful for testing userspace code
>> +# without hardware.
>> +
>> +#if IIO_SIMPLE_DUMMY
>> +
>> +#config IIO_SIMPLE_DUMMY_EVENTS
>> +# bool "Event generation support"
>> +# select IIO_DUMMY_EVGEN
>> +# help
>> +# Add some dummy events to the simple dummy driver.
>> +
>> +#config IIO_SIMPLE_DUMMY_BUFFER
>> +# bool "Buffered capture support"
>> +# select IIO_BUFFER
>> +# select IIO_TRIGGER
>> +# select IIO_KFIFO_BUF
>> +# help
>> +# Add buffered data capture to the simple dummy driver.
>
> Any particular reason why those where commented out rather than removed?
>
Gah I'd missed that entirely and they have now been in my tree sometime so
I will have to do it as an additional patch. Good point Lars.

Patch shortly...

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/