linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] staging: iio: ad2s1210: Switch to the gpio descriptor interface.
@ 2018-10-26 13:23 Nishad Kamdar
  2018-10-26 13:24 ` [PATCH v5 1/2] " Nishad Kamdar
  2018-10-26 13:25 ` [PATCH v5 2/2] staging: iio: ad2s1210: Add device tree support Nishad Kamdar
  0 siblings, 2 replies; 6+ messages in thread
From: Nishad Kamdar @ 2018-10-26 13:23 UTC (permalink / raw)
  To: Slawomir Stepien
  Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald-Stadler, Greg Kroah-Hartman,
	linux-iio, devel, linux-kernel

Use the gpiod interface instead of the deprecated old non-descriptor

Changes in v5:
 - Add device tree support.
 - Add device tree table for matching vendor ID.
 - Add Support for retrieving platform data from device tree.
Changes in v4:
 - Add spaces after { and before } in gpios[]
   initialization.
 - Check the correct pointer for error.
 - Align the dev_err msg to existing format in the code.
Changes in v3:
 - Use a pointer to pointer for gpio_desc in
   struct ad2s1210_gpio as it will be used to
   modify a pointer.
 - Use dot notation to initialize the structure.
 - Use a pointer variable to avoid writing gpios[i].
Changes in v2:
 - Use the spi_device struct embedded in st instead
   of passing it as an argument to ad2s1210_setup_gpios().
 - Use an array of structs to reduce redundant code in
   in ad2s1210_setup_gpios().
 - Remove ad2s1210_free_gpios() as devm API is being used.
-
Nishad Kamdar (2):
  staging: iio: ad2s1210: Switch to the gpio descriptor interface
  staging: iio: ad2s1210: Add device tree support.

 drivers/staging/iio/resolver/ad2s1210.c | 129 ++++++++++++++++--------
 drivers/staging/iio/resolver/ad2s1210.h |   3 -
 2 files changed, 89 insertions(+), 43 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2018-10-28 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 13:23 [PATCH v5 0/2] staging: iio: ad2s1210: Switch to the gpio descriptor interface Nishad Kamdar
2018-10-26 13:24 ` [PATCH v5 1/2] " Nishad Kamdar
2018-10-26 13:25 ` [PATCH v5 2/2] staging: iio: ad2s1210: Add device tree support Nishad Kamdar
2018-10-27 15:49   ` Slawomir Stepien
2018-10-28  6:13     ` Nishad Kamdar
2018-10-28 14:55     ` 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).