Thread (14 messages) 14 messages, 4 authors, 2014-09-22

Re: [PATCH v2 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

From: Stanimir Varbanov <hidden>
Date: 2014-09-15 14:16:22
Also in: linux-arm-msm, linux-iio, lkml

Thanks for the comments!

On 09/13/2014 02:27 AM, Hartmut Knaack wrote:
Stanimir Varbanov schrieb, Am 11.09.2014 17:13:
quoted
The voltage ADC is peripheral of Qualcomm SPMI PMIC chips. It has
15bits resolution and register space inside PMIC accessible across
SPMI bus.

The vadc driver registers itself through IIO interface.
Looks already pretty good. Things you should consider in regard of common coding style are to use the variable name ret instead of rc, since it is used in almost all adc drivers and thus makes reviewing a bit easier. Besides that, you seem to use unsigned as well as unsigned int, so to be consistent, please stick to one of them. Other comments in line.
OK, I will take into account your comments.

<snip>


-- 
regards,
Stan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help