Prechádzať zdrojové kódy

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>
Jean Delvare 17 rokov pred
rodič
commit
3d706d952c
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      drivers/i2c/chips/Makefile

+ 7 - 0
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