Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean Delvare and committed by
Jean Delvare
3d706d95 50c3304a

+7
+7
drivers/i2c/chips/Makefile
··· 1 1 # 2 2 # Makefile for miscellaneous I2C chip drivers. 3 3 # 4 + # Think twice before you add a new driver to this directory. 5 + # Device drivers are better grouped according to the functionality they 6 + # implement rather than to the bus they are connected to. In particular: 7 + # * Hardware monitoring chip drivers go to drivers/hwmon 8 + # * RTC chip drivers go to drivers/rtc 9 + # * I/O expander drivers go to drivers/gpio 10 + # 4 11 5 12 obj-$(CONFIG_DS1682) += ds1682.o 6 13 obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o