From: Felipe Balbi Date: Mon, 13 Jul 2015 20:38:02 +0000 (-0500) Subject: i2c: omap: switch to dev_get_drvdata() X-Git-Tag: omap-for-v4.3/fixes-rc1~62^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c680e3291857216465714ba1d3336befaa5b4725;p=pandora-kernel.git 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 Acked-by: Alexander Sverdlin Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed