Description of problem: Add check for the return value of of_find_device_by_node() and return the error if it fails in order to avoid NULL pointer dereference. Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=92003981a6df5dc84af8a5904f8ee112fa324129
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3313