History log of /drivers/iio/dac/max517.c
Revision Date Author Comments
36eb8cc2cedadee888deb9a657a10be159f2dc0b 01-Sep-2014 Paul Gortmaker <paul.gortmaker@windriver.com> iio: delete non-required instances of include <linux/init.h>

None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>. Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
5247362453879e9829305be82d061f520d7d7e45 11-Dec-2013 Jonathan Cameron <jic23@kernel.org> iio:dac:max517 drop specification of scan type as unused in this driver.

IIO_ST is going away as it is a pain to maintain so the simplest path with
this driver is to not specify the unused scan type.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
345d4f92e72964e2d2f482c635bc949b04f861ed 24-Oct-2013 Sachin Kamat <sachin.kamat@linaro.org> iio: dac: max517: Remove redundant variable

Remove an inconsequential print message and return directly
thereby eliminating an intermediate variable.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
998f129c76e2030ad2e68cf59d75eef0e5a58fd3 28-Sep-2013 Lars-Peter Clausen <lars@metafoo.de> iio:max517: Report scale as fractional value

Move the complexity of calculating the fixed point scale to the core.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
cc566fd5e52d64554d294b4d36f9d593cbe797d5 19-Aug-2013 Sachin Kamat <sachin.kamat@linaro.org> iio: dac: max517: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Roland Stigge <stigge@antcom.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
040b837e718408436b79c2aaf68ed86b09682af4 27-Feb-2013 Jonathan Cameron <jic23@kernel.org> iio:dac:max517 move to info_mask_(shared_by_type/separate)

The original info_mask is going away in favour of the broken out versions.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
cc: Roland Stigge <stigge@antcom.de>
fc52692c49969ec72595766929b9f54ac402da34 21-Dec-2012 Greg Kroah-Hartman <gregkh@linuxfoundation.org> Drivers: iio: remove __dev* attributes.

CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, and __devexit
from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f9eb89e97dec966981494c75ef7dc41630b0cb43 08-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio: max517: mark probe() and remove() with __devinit and __devexit

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Roland Stigge <stigge@antcom.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
227d5e0040ff18b6258ef6680e3c54150bb6b8b1 08-Jun-2012 Peter Meerwald <pmeerw@pmeerw.net> iio: remove indio_dev pointer from max517_data

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Roland Stigge <stigge@antcom.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dbdc025bb239ce62c9b4d28c459a98f22ce9ec0a 04-Jun-2012 Lars-Peter Clausen <lars@metafoo.de> staging:iio: Move DAC drivers out of staging

The IIO DAC drivers are in a reasonably good shape. They all make use of channel
spec and non of them provides non-documented sysfs attributes. Code style should
be OK as well, both checkpatch and coccicheck only report trivial issues.

So lets move the whole folder out of staging.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>