nvmem: imx-ocotp: Fix return value of imx_ocotp_read
authorAxel Lin <axel.lin@ingics.com>
Mon, 22 Feb 2016 11:23:52 +0000 (11:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Mar 2016 20:20:29 +0000 (12:20 -0800)
commitc7e3c5f861f0406aa4bc7ee4af0d789ef4a828db
tree99a8ceef463336bece4eec1dc1ef09c766e92f0a
parent5685e24446ab9aa0a529cf87a69ad73f4775888a
nvmem: imx-ocotp: Fix return value of imx_ocotp_read

imx_ocotp_read() should return 0 on success.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c