i2c: mvtwsi.c: Avoid NULL dereference
For '#ifndef CONFIG_DM_I2C' twsi_i2c_init() passes NULL as
4th parameter to __twsi_i2c_init().
Identified with cppcheck.
Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please register or sign in to comment