nvmem: core: switch to device_property_present for reading property "read-only"
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 15 Dec 2017 14:06:06 +0000 (14:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 09:39:33 +0000 (10:39 +0100)
commitfc2f997035fef8463abcf8a0a1f3d92c7c6fdf0a
tree600ff1298e22e0bb6d08e92323cf3b19933caa35
parent99897efd5aa0e9671946297ede45840bc2052c07
nvmem: core: switch to device_property_present for reading property "read-only"

Switch to more generic device_property_present to consider also non-DT
properties.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c