mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ARM: davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()
In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
parent
09aaf994e3
commit
5a6a86121f
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue