<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/comedi/range.c, branch v4.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-08-05T18:55:44Z</updated>
<entry>
<title>staging: comedi: improve comedi_check_chanlist() documentation</title>
<updated>2015-08-05T18:55:44Z</updated>
<author>
<name>Ian Abbott</name>
<email>abbotti@mev.co.uk</email>
</author>
<published>2015-08-05T17:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d27da4dae5f487d64ba52c3d505cc587c19af578'/>
<id>urn:sha1:d27da4dae5f487d64ba52c3d505cc587c19af578</id>
<content type='text'>
Signed-off-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: range.c: reformat copyright comment</title>
<updated>2015-02-07T09:04:22Z</updated>
<author>
<name>Ian Abbott</name>
<email>abbotti@mev.co.uk</email>
</author>
<published>2015-01-28T18:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5824ec7fe71c1da49a170fb18bfba3d1097caa39'/>
<id>urn:sha1:5824ec7fe71c1da49a170fb18bfba3d1097caa39</id>
<content type='text'>
Use the usual block comment style.

Signed-off-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: range.c: reformat ioctl handler comment</title>
<updated>2015-02-07T09:04:22Z</updated>
<author>
<name>Ian Abbott</name>
<email>abbotti@mev.co.uk</email>
</author>
<published>2015-01-28T18:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1a4f01b74f8c26a97e343ba8a93000781b3eb76d'/>
<id>urn:sha1:1a4f01b74f8c26a97e343ba8a93000781b3eb76d</id>
<content type='text'>
The unlocked_ioctl handler in "comedi_fops.c" calls a different function
to handle each supported ioctl command code.  Most of these have a block
comment indicating which command code it handles, a brief description,
and an informal description of the inputs and outputs.  These block
comments were formatted in various styles, but have been reformatted to
use the usual block comment style.

The block comment for the handler function for the `COMEDI_RANGEINFO`
ioctl code is in "range.c".  Reformat it to use the usual block command
style to match the others.  Reword it a bit for consistency.

Signed-off-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: Remove unecessary function and it's call</title>
<updated>2014-10-20T02:29:13Z</updated>
<author>
<name>Tapasweni Pathak</name>
<email>tapaswenipathak@gmail.com</email>
</author>
<published>2014-10-07T17:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c6c04f05115eaca1badc0232a8f75e2e120f8f15'/>
<id>urn:sha1:c6c04f05115eaca1badc0232a8f75e2e120f8f15</id>
<content type='text'>
Function aref_invalid has unreachable code as it right now
just returns 0 after declaring a variable.
This patch removes this function and it's single call.

As it is static so it's obvious that it is not used anywhere
other than this file or somewhere, where this is included.
I also build tested it.

Signed-off-by: Tapasweni Pathak &lt;tapaswenipathak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: comedi: range: remove unnecessary sanity check</title>
<updated>2014-03-09T02:59:48Z</updated>
<author>
<name>Fred Akers</name>
<email>knivey@botops.net</email>
</author>
<published>2014-03-06T06:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56b1fcfdeb5897c3406647f2e416d853ffd234c8'/>
<id>urn:sha1:56b1fcfdeb5897c3406647f2e416d853ffd234c8</id>
<content type='text'>
This check is unnecessary because range_table will always be
initialized to range_unknown by comedi_device_postconfig() for
drivers that do not initialize range_table or range_table_list

Signed-off-by: Fred Akers &lt;knivey@botops.net&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Reviewed-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: comedi: range: tidy up comedi_check_chanlist()</title>
<updated>2014-03-09T02:59:48Z</updated>
<author>
<name>Fred Akers</name>
<email>knivey@botops.net</email>
</author>
<published>2014-03-06T06:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=afdc37ee79cd53aad24dd995a1fc55568e4c0baa'/>
<id>urn:sha1:afdc37ee79cd53aad24dd995a1fc55568e4c0baa</id>
<content type='text'>
Refactor this function to remove an extra indent level

Signed-off-by: Fred Akers &lt;knivey@botops.net&gt;
Reviewed-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Reviewed-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: range: remove use of DPRINTK</title>
<updated>2013-11-25T19:50:53Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hsweeten@visionengravers.com</email>
</author>
<published>2013-11-22T17:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2cde476df4155a89342a6cdf27581a4c811689b7'/>
<id>urn:sha1:2cde476df4155a89342a6cdf27581a4c811689b7</id>
<content type='text'>
Use dev_dbg() instead of the DPRINTK macro to output the comedi
debugging information.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Reviewed-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: range: tidy up comedi_check_chanlist()</title>
<updated>2013-07-25T20:20:17Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hsweeten@visionengravers.com</email>
</author>
<published>2013-07-24T17:00:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=065b09127057fa728c9290d62c2a2e1c4925132b'/>
<id>urn:sha1:065b09127057fa728c9290d62c2a2e1c4925132b</id>
<content type='text'>
The only difference in the if() and else if() check of the chanlist
is the source of the range table length. Consolidate the checks to
make the function a bit more concise.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Reviewed-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: remove FSF address from boilerplate text</title>
<updated>2013-05-13T21:34:22Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hsweeten@visionengravers.com</email>
</author>
<published>2013-04-25T01:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=641f064e5df6fb3aaeb6256031a153a5efb16ca6'/>
<id>urn:sha1:641f064e5df6fb3aaeb6256031a153a5efb16ca6</id>
<content type='text'>
Addresses change...

Remove the paragraph with the FSF address from all the comedi source
files.

Also, remove the paragraph about the finding the complete GPL in the
COPYING file since it's unnecessary.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: comedi: use EXPORT_SYMBOL_GPL() for all exported symbols</title>
<updated>2013-04-12T22:09:59Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hsweeten@visionengravers.com</email>
</author>
<published>2013-04-12T17:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5660e7427113eff85ae712af9cf98c8c5bd368e3'/>
<id>urn:sha1:5660e7427113eff85ae712af9cf98c8c5bd368e3</id>
<content type='text'>
Comedi is licensed under GPL. Some if its exports are currently
EXPORT_SYMBOL() and others are EXPORT_SYMBOL_GPL(). Change them all
to EXPORT_SYMBOL_GPL() and see if anyone reports any fall out.

If any of the symbols "need" to be EXPORT_SYMBOL() they will be
addressed as needed.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
