drivers: i2c: Check non-null pointer before dereferencing in i2c shell
Fixes the i2c shell to check the device name pointer is non-null before
dereferencing it.
Coverity CID: 210558
Signed-off-by:
Maureen Helm <maureen.helm@nxp.com>
Loading
Please sign in to comment