commit | c680e3291857216465714ba1d3336befaa5b4725 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Jul 13 15:38:02 2015 -0500 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 10 08:37:28 2015 +0200 |
tree | cfa6216b8caf0ee380649acfc0748b71917e88f2 | |
parent | 20226118bceed7b432f4bc5bae34c1c160689bf7 [diff] |
i2c: omap: switch to dev_get_drvdata() there's no need to fetch the platform_device in order to dereference it back to the dev pointer to access drvdata, we can use dev_get_drvdata() instead. Signed-off-by: Felipe Balbi <balbi@ti.com> Acked-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>