Commit 70218113 authored by Li ZhiGang's avatar Li ZhiGang
Browse files

drivers/gmjstcm: fix a dev_err() call in spi tcm device probe

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4W1R1



-------------------------------------------------

fix a bug in spi tcm probe, that call dev_err(chip->dev, ..)
while chip is NULL.

Signed-off-by: default avatarLi ZhiGang <lizhigang@kylinos.cn>
parent 0c49500f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment