Second round of new drivers, features and cleanups for IIO in the 3.12 cycle.

New driver:
 
 1) tmp006 IR thermopile driver.  This is an unusual temperature sensor
    and was taken in to IIO with the knowledge and agreement of a hwmon
    maintainer.
    It measures remote temperature using infrared emissions.
    I guess taking this may mean we have to fight off submissions of
    devices much more suited to hwmon but such is life and we end up
    doing this from time to time already.
 
 2) twl6030 adc driver.
 
 Cleanups:
 
 1) More devm_* cleanups following on from the introduction of
    devm_iio_device_alloc.  Mostly an heroic effort from
    Sachin Kamat!
 
 2) Introduce devm_iio_trigger_alloc etc to handle trigger
    allocation and deallocation in a managed fashion.  There
    aren't as many instances of triggers as devices, but this
    will allow futher reduction in error patch complexity in
    some of our most complex drivers making it a very good thing.
 3) Trivial removal of unused defines in adjd_s311
 
 4) Drop some write_raw_get_fmt callbacks where they were only
    returning the default value.
 
 5) Change mxs-lradc realbits to 12.  Whilst an 18bit register
    is used on the device, in its current mode only 12 bits of
    useful data are returned.  For now the packing is unchanged
    in the buffer and this change mainly effects the input support
    in the driver.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.20 (GNU/Linux)
 
 iQIcBAABAgAGBQJSEoZKAAoJEFSFNJnE9BaIqKgP/iuIRt5dzv7utQqoIm+vrE5B
 xVKjAGgTzPwpkr1wzMEfVF0BqtoxEi9Y6hwAQpTI41fo3Kk0Y5TOtTRf0jlJw4pn
 fMUQt3JC1daU/5nruU7slsAh0NcWV9Tdl1TdzSHmntvHwBcnd36kzdWX+9UxS6cP
 o35mz8Fgt4qHt/QsiN/dLqOuAdS2W2FXAuLThW0ze4xiK50sMSGfysVhfkAQQidc
 TH+/aIPfgBKzCyMrxy87E+fKGAb0CeqQNmdTJs92+s1Lr6QU6jRePIgLMCB+FPRJ
 R1BeWwgk49HPxl+Rqw55ZGUmnxYPoCDyYY35D8pPTkbMhB1VrgKF/uMbgpnFZdyR
 g+wnO2g/BfFz7fDK0vdZbcKro0sdbYhBYcvNr7yTz494eeyqTQapzDy+LlQ/nYL0
 2BKNMm7b8SyaJxB9UHNoOUAvnCQZ0+jsE87V5EH8i3slQ9fte84rdkWmFSNrf+S3
 kRrN7seMYUOBaTSmSDJvkCYbnu9NoF+zCuNKXrx2gyyuTt5EAp2yve4KD5mcH7de
 9iLZr3KiTH9a7Bd3JapQids7dAAhWMZm24qxKZ2NqPLyq9zpueoRAePjHloC02TF
 oJUvRRMQEyKjiUO7eoYxtc7fcAXog8pszNCXdVCigO0V9d3DVwA0pt0/G8kkkCeq
 10zoDRlWZI9mJ5J64Ajy
 =285a
 -----END PGP SIGNATURE-----

Merge tag 'iio-for-3.12b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next

Jonathan writes:

Second round of new drivers, features and cleanups for IIO in the 3.12 cycle.

New driver:

1) tmp006 IR thermopile driver.  This is an unusual temperature sensor
   and was taken in to IIO with the knowledge and agreement of a hwmon
   maintainer.
   It measures remote temperature using infrared emissions.
   I guess taking this may mean we have to fight off submissions of
   devices much more suited to hwmon but such is life and we end up
   doing this from time to time already.

2) twl6030 adc driver.

Cleanups:

1) More devm_* cleanups following on from the introduction of
   devm_iio_device_alloc.  Mostly an heroic effort from
   Sachin Kamat!

2) Introduce devm_iio_trigger_alloc etc to handle trigger
   allocation and deallocation in a managed fashion.  There
   aren't as many instances of triggers as devices, but this
   will allow futher reduction in error patch complexity in
   some of our most complex drivers making it a very good thing.
3) Trivial removal of unused defines in adjd_s311

4) Drop some write_raw_get_fmt callbacks where they were only
   returning the default value.

5) Change mxs-lradc realbits to 12.  Whilst an 18bit register
   is used on the device, in its current mode only 12 bits of
   useful data are returned.  For now the packing is unchanged
   in the buffer and this change mainly effects the input support
   in the driver.
This commit is contained in:
Greg Kroah-Hartman 2013-08-19 15:23:55 -07:00
commit bad4f537ee
41 changed files with 1576 additions and 402 deletions