i2c: i801: Remove i801_set_block_buffer_mode
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 18 Nov 2021 22:58:17 +0000 (23:58 +0100)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 08:54:58 +0000 (09:54 +0100)
commit1e1d6582f483a4dba4ea03445e6f2f05d9de5bcf
tree485dd13ecf91638c4f8edb9165f8993e0c13f359
parenteffa453168a7eeb8a562ff4edc1dbf9067360a61
i2c: i801: Remove i801_set_block_buffer_mode

If FEATURE_BLOCK_BUFFER is set then bit SMBAUXCTL_E32B is supported
and there's no benefit in reading it back. Origin of this check
seems to be 14 yrs ago when people were not completely sure which
chip versions support the block buffer mode.

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