From: Jingoo Han Date: Thu, 23 May 2013 10:22:40 +0000 (+0900) Subject: i2c: use platform_{get,set}_drvdata() X-Git-Tag: v3.11-rc1~87^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2c64954723b9d365f35f36c0cd089e740bb0a0a;p=pandora-kernel.git i2c: use platform_{get,set}_drvdata() Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Jingoo Han Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed