i2c: chips subdirectory is deprecated
authorJean Delvare <khali@linux-fr.org>
Wed, 12 Mar 2008 13:15:00 +0000 (14:15 +0100)
committerJean Delvare <khali@hyperion.delvare>
Wed, 12 Mar 2008 13:15:00 +0000 (14:15 +0100)
Let driver authors know that drivers/i2c/chips is usually the wrong place
for new drivers.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/chips/Makefile

index 501f00cea78284cc1c5e731ceb3b8a1c7fbcd2b8..e47aca0ca5aebda2bb70bc44d3f625a827301ea2 100644 (file)
@@ -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