summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorJingoo Han2013-05-23 12:22:40 +0200
committerWolfram Sang2013-06-12 20:39:07 +0200
commitc2c64954723b9d365f35f36c0cd089e740bb0a0a (patch)
treeb8f63ac7cc85a2bec4b0609370e5eef3f01b8b69 /drivers/i2c/i2c-core.c
parentdrivers/i2c/busses: don't check resource with devm_ioremap_resource (diff)
downloadkernel-qcow2-linux-c2c64954723b9d365f35f36c0cd089e740bb0a0a.tar.gz
kernel-qcow2-linux-c2c64954723b9d365f35f36c0cd089e740bb0a0a.tar.xz
kernel-qcow2-linux-c2c64954723b9d365f35f36c0cd089e740bb0a0a.zip
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 <jg1.han@samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions