summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-03-12 14:15:00 +0100
committerJean Delvare <khali@hyperion.delvare>2008-03-12 14:15:00 +0100
commit3d706d952cf238a60c5571e33329448b453a2ab9 (patch)
tree6169a73ca419f57d171c30d60b7e7a33786693bd /drivers/i2c
parent50c3304a5e1e5217fc6b58fb686edc7d1114f2fa (diff)
downloadblackbird-op-linux-3d706d952cf238a60c5571e33329448b453a2ab9.tar.gz
blackbird-op-linux-3d706d952cf238a60c5571e33329448b453a2ab9.zip
i2c: chips subdirectory is deprecated
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/chips/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile
index 501f00cea782..e47aca0ca5ae 100644
--- a/drivers/i2c/chips/Makefile
+++ b/drivers/i2c/chips/Makefile
@@ -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
OpenPOWER on IntegriCloud