i2c: core: Allocate temp client on the stack in i2c_detect
The temp client is used only in scope of this function, so there's no benefit in dynamic allocation. Signed-off-by:Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com>
Loading
Please register or sign in to comment