public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: inform about deprecated chips-directory
@ 2008-10-21 15:57 Wolfram Sang
       [not found] ` <1224604651-17321-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2008-10-21 15:57 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA

The chips directory under drivers/i2c is deprecated. Spread the word!

Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---

Maybe this makes Jean's life a bit easier ;)

 drivers/i2c/chips/Kconfig  |    3 +++
 drivers/i2c/chips/Makefile |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
index 1735682..44a6e4c 100644
--- a/drivers/i2c/chips/Kconfig
+++ b/drivers/i2c/chips/Kconfig
@@ -1,6 +1,9 @@
 #
 # Miscellaneous I2C chip drivers configuration
 #
+#
+# *** DEPRECATED! Do not add new entries! See Makefile ***
+#
 
 menu "Miscellaneous I2C Chip support"
 
diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile
index ca520fa..23d2a31 100644
--- a/drivers/i2c/chips/Makefile
+++ b/drivers/i2c/chips/Makefile
@@ -1,7 +1,8 @@
 #
 # Makefile for miscellaneous I2C chip drivers.
 #
-# Think twice before you add a new driver to this directory.
+# Do not add new drivers to this directory! It is DEPRECATED.
+#
 # Device drivers are better grouped according to the functionality they
 # implement rather than to the bus they are connected to. In particular:
 # * Hardware monitoring chip drivers go to drivers/hwmon
-- 
1.5.6.5


_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

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

* Re: [PATCH] i2c: inform about deprecated chips-directory
       [not found] ` <1224604651-17321-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2008-10-21 16:56   ` Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2008-10-21 16:56 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA

Hi Wolfram,

On Tue, 21 Oct 2008 17:57:31 +0200, Wolfram Sang wrote:
> The chips directory under drivers/i2c is deprecated. Spread the word!
> 
> Signed-off-by: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> ---
> 
> Maybe this makes Jean's life a bit easier ;)
> 
>  drivers/i2c/chips/Kconfig  |    3 +++
>  drivers/i2c/chips/Makefile |    3 ++-
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
> index 1735682..44a6e4c 100644
> --- a/drivers/i2c/chips/Kconfig
> +++ b/drivers/i2c/chips/Kconfig
> @@ -1,6 +1,9 @@
>  #
>  # Miscellaneous I2C chip drivers configuration
>  #
> +#
> +# *** DEPRECATED! Do not add new entries! See Makefile ***
> +#
>  
>  menu "Miscellaneous I2C Chip support"
>  
> diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile
> index ca520fa..23d2a31 100644
> --- a/drivers/i2c/chips/Makefile
> +++ b/drivers/i2c/chips/Makefile
> @@ -1,7 +1,8 @@
>  #
>  # Makefile for miscellaneous I2C chip drivers.
>  #
> -# Think twice before you add a new driver to this directory.
> +# Do not add new drivers to this directory! It is DEPRECATED.
> +#
>  # Device drivers are better grouped according to the functionality they
>  # implement rather than to the bus they are connected to. In particular:
>  # * Hardware monitoring chip drivers go to drivers/hwmon

Good idea, it's more obvious that way. Applied, thanks!

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

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

end of thread, other threads:[~2008-10-21 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 15:57 [PATCH] i2c: inform about deprecated chips-directory Wolfram Sang
     [not found] ` <1224604651-17321-1-git-send-email-w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-10-21 16:56   ` Jean Delvare

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