i2c: i801: Improve handling of chip-specific feature definitions
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 19 Nov 2021 20:45:54 +0000 (21:45 +0100)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 08:55:58 +0000 (09:55 +0100)
commit41acd4b03ca9ba9c9a3ab993817112d9b9f7cf44
treebb33d856d15e2addcb14ca23a7e32cc3f70b0aaf
parent1e1d6582f483a4dba4ea03445e6f2f05d9de5bcf
i2c: i801: Improve handling of chip-specific feature definitions

Reduce source code and code size by defining the chip features
statically.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c