]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2a98f576d0e9f04b8b3e3ec5e9d9541eb592607
tree3f196cc93243e2f451453e023f75923d5a34b482
parent98fdee84ed2b2ed60d952d14a87b7a546eb1d946
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