]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvmem: imx-ocotp: fix usage of "dev" pointers
authorRichard Leitner <richard.leitner@skidata.com>
Fri, 31 Mar 2017 12:44:49 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:51:48 +0000 (17:51 +0200)
commit4cefb74ada57c479e4f8b92d28008d35c1527e87
treeb0fdb921b34070de7d69861f9747c6d83760483c
parent1a9636426b9f994d57dfe5a64e3f4644747a2e95
nvmem: imx-ocotp: fix usage of "dev" pointers

Assign the correct dev pointer to struct ocotp_priv during probe. This
is needed to display dev_* messages correctly. Furthermore harmonize
the usage of dev (instead of &pdev->dev) in the probe function.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c