commit | 8bcf12ccce89ef9c77d9322930445b4f4ca3b822 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jan 31 00:57:17 2018 +0100 |
committer | Heiko Schocher <hs@denx.de> | Tue Feb 06 07:02:32 2018 +0100 |
tree | d79f23fb6ae97c0b1488c97a670f36439439555e | |
parent | 9cef983d1c5d3c4150f70346346ace29b1dfe432 [diff] |
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>