]> 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)
commitc400022f12156f33a7721e2208f773f2e214827f
tree3f196cc93243e2f451453e023f75923d5a34b482
parent1f27cfe522d6cf5b928af772d0b9372bb3b1f75f
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