Re: [PATCH] i2c: mux: remove duplicated i2c_algorithm

2018-09-26 Thread kbuild test robot
Hi Luca, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc5 next-20180926] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/com

[PATCH] i2c: mux: remove duplicated i2c_algorithm

2018-09-26 Thread Luca Ceresoli
From: Luca Ceresoli i2c-mux instantiates one i2c_algorithm for each downstream adapter. However these algorithms are all identical, depending only on the parent adapter. Avoid duplication by hoisting the i2c_algorithm from the adapters to the i2c_mux_core object, and reuse it in all the adapters