Skip to content
Commit 8bcf12cc authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Heiko Schocher
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 9cef983d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment