commit | 4cefb74ada57c479e4f8b92d28008d35c1527e87 | [log] [tgz] |
---|---|---|
author | Richard Leitner <richard.leitner@skidata.com> | Fri Mar 31 13:44:49 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 17:51:48 2017 +0200 |
tree | b0fdb921b34070de7d69861f9747c6d83760483c | |
parent | 1a9636426b9f994d57dfe5a64e3f4644747a2e95 [diff] |
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>