linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [V4] [TWL4030 MADC] Correction and clean-up
@ 2015-08-04 18:15 Adam YH Lee
  2015-08-04 18:15 ` [V4] [TWL4030 MADC] Fix ADC[3:6] readings Adam YH Lee
  0 siblings, 1 reply; 4+ messages in thread
From: Adam YH Lee @ 2015-08-04 18:15 UTC (permalink / raw)
  To: linux-arm-kernel

The V4 of this patch addresses issues raised by Jonathan [1].

"iio_device_register" call should be the last call in the probe.
All regulators should be configured before that call.

Remove devm_regulator_put as it is not necessary. "devm_allocators"
(devm_regulator_get, in this case) does device removal as well as error
handling.

[1] http://www.spinics.net/lists/linux-omap/msg120871.html

Adam YH Lee (1):
  [TWL4030 MADC] Fix ADC[3:6] readings

 drivers/iio/adc/twl4030-madc.c | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-31 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 18:15 [V4] [TWL4030 MADC] Correction and clean-up Adam YH Lee
2015-08-04 18:15 ` [V4] [TWL4030 MADC] Fix ADC[3:6] readings Adam YH Lee
2015-08-08 15:15   ` Jonathan Cameron
     [not found]     ` <CAFeBWL5JT=+X9SCwRefn8L9Epx_c0yaizS5=1W4eq_O3Fpg7Lg@mail.gmail.com>
2015-08-31 17:06       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).