+ drivers-gpio-is-platform-neutral.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/gpio is platform-neutral
has been added to the -mm tree.  Its filename is
     drivers-gpio-is-platform-neutral.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/gpio is platform-neutral
From: David Brownell <david-b@xxxxxxxxxxx>

Update Kconfig and Makefile in drivers/gpio to discourage inappropriate
addition of platform-specific code.

Signed-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/gpio/Kconfig  |    2 +-
 drivers/gpio/Makefile |    6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff -puN drivers/gpio/Kconfig~drivers-gpio-is-platform-neutral drivers/gpio/Kconfig
--- a/drivers/gpio/Kconfig~drivers-gpio-is-platform-neutral
+++ a/drivers/gpio/Kconfig
@@ -1,5 +1,5 @@
 #
-# GPIO infrastructure and expanders
+# platform-neutral GPIO infrastructure and expanders
 #
 
 config ARCH_WANT_OPTIONAL_GPIOLIB
diff -puN drivers/gpio/Makefile~drivers-gpio-is-platform-neutral drivers/gpio/Makefile
--- a/drivers/gpio/Makefile~drivers-gpio-is-platform-neutral
+++ a/drivers/gpio/Makefile
@@ -1,4 +1,8 @@
-# gpio support: dedicated expander chips, etc
+# generic gpio support: dedicated expander chips, etc
+#
+# NOTE: platform-specific GPIO drivers don't belong in the
+drivers/gpio directory; put them with other platform setup
+# code, IRQ controllers, board init, etc.
 
 ccflags-$(CONFIG_DEBUG_GPIO)	+= -DDEBUG
 
_

Patches currently in -mm which might be from david-b@xxxxxxxxxxx are

linux-next.patch
drivers-gpio-is-platform-neutral.patch
mmc-fix-all-hangs-related-to-mmc-sd-card-insert-removal-during-suspend-resume.patch
gpio-max730x-make-pullups-configurable-via-platformdata.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux