mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixup patches for gpiod interface
@ 2013-10-20 22:14 Alexandre Courbot
  2013-10-20 22:14 ` [PATCH 1/3] gpiolib: devres: fix devm_gpiod_get_index() Alexandre Courbot
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexandre Courbot @ 2013-10-20 22:14 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, gnurou, Alexandre Courbot

These patches fix a few issues of the gpiod series highlighted by the
autobuild system. They take root in the fact that devres.c was compiled
even when gpiolib is not to be built, which should obviously not happen.
But they also reveal missing includes in the same file, and sparse also
pointed out a suspiscious line that happened to be completely wrong.

Patch 1/3 and 2/3 can be applied on their own, but would probably better
be squashed into bae48da2 "add gpiod_get() and gpiod_put() functions".

Patch 3/3 stands on its own, and should preferably be applied before the
rest of the gpiod series. It would not hurt to apply it after if 1/3 and
2/3 are properly squashed.

Apologies for these issues that could have been caught earlier had I been
less negligent.

Alexandre Courbot (3):
  gpiolib: devres: fix devm_gpiod_get_index()
  gpiolib: devres: add missing headers
  gpiolib: make GPIO_DEVRES depend on GPIOLIB

 drivers/gpio/Kconfig  | 8 ++++----
 drivers/gpio/devres.c | 4 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
1.8.4.1


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

end of thread, other threads:[~2013-10-23  8:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-20 22:14 [PATCH 0/3] Fixup patches for gpiod interface Alexandre Courbot
2013-10-20 22:14 ` [PATCH 1/3] gpiolib: devres: fix devm_gpiod_get_index() Alexandre Courbot
2013-10-23  8:09   ` Linus Walleij
2013-10-20 22:14 ` [PATCH 2/3] gpiolib: devres: add missing headers Alexandre Courbot
2013-10-20 22:14 ` [PATCH 3/3] gpiolib: make GPIO_DEVRES depend on GPIOLIB Alexandre Courbot
2013-10-23  8:13   ` Linus Walleij
2013-10-23  8:14     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®