i2c: i801: Simplify initialization of i2c_board_info in i801_probe_optional_slaves
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 25 May 2021 20:01:31 +0000 (22:01 +0200)
committerWolfram Sang <wsa@kernel.org>
Sun, 20 Jun 2021 20:54:24 +0000 (22:54 +0200)
commit8d83973e7a85b2fab168894ea327dfd4e6ef596e
tree3f196cc93243e2f451453e023f75923d5a34b482
parent44c54c4ec391412c7f529e53d27844dadc6d536a
i2c: i801: Simplify initialization of i2c_board_info in i801_probe_optional_slaves

Why shall we bother to open-code something that the compiler can do for us.

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