* [PATCH] i2c: chips subdirectory is deprecated
@ 2008-03-10 20:55 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2008-03-10 20:55 UTC (permalink / raw)
To: Linux I2C
Let driver authors know that drivers/i2c/chips is usually the wrong place
for new drivers.
Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
---
drivers/i2c/chips/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
--- linux-2.6.25-rc5.orig/drivers/i2c/chips/Makefile 2008-02-11 09:48:54.000000000 +0100
+++ linux-2.6.25-rc5/drivers/i2c/chips/Makefile 2008-03-10 21:50:14.000000000 +0100
@@ -1,6 +1,13 @@
#
# Makefile for miscellaneous I2C chip drivers.
#
+# Think twice before you add a new driver to this directory.
+# 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
+# * RTC chip drivers go to drivers/rtc
+# * I/O expander drivers go to drivers/gpio
+#
obj-$(CONFIG_DS1682) += ds1682.o
obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-10 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 20:55 [PATCH] i2c: chips subdirectory is deprecated Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox