]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c-i801: All newer devices have all the optional features
authorJean Delvare <khali@linux-fr.org>
Fri, 21 May 2010 16:40:55 +0000 (18:40 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 21 May 2010 16:40:55 +0000 (18:40 +0200)
commite0e8398c7a40f1fb65cefa9d35ed6cd84cee6008
treea8bd6ffd67366a6629d4ff30742f78a86e0bfa74
parentadff687d8cb0ed62b147a7e1d277846b3130d593
i2c-i801: All newer devices have all the optional features

Only the oldest devices lack some of the features supported by this
driver. List them explicitly, and default to all features enabled for
all other chips, including the ones added through sysfs. This will
make future driver maintenance easier.

In the unlikely event of a not yet supported device not implementing
all the features, one can always use the disable_features module
parameter to prevent the driver from attempting to use them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Seth Heasley <seth.heasley@intel.com>
drivers/i2c/busses/i2c-i801.c