Skip to content
Commit 28371cc6 authored by Tian Tao's avatar Tian Tao Committed by Greg Kroah-Hartman
Browse files

nvmem: core: Use kobj_to_dev() instead of container_of()



Use kobj_to_dev() instead of container_of()

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200917134437.16637-3-srinivas.kandagatla@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8e2aeb5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment