commit | 24b5a82cf5709a4bc577f42fdaa61b23a7f58f08 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu May 23 19:20:40 2013 +0900 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu May 23 09:09:55 2013 -0500 |
tree | 39c17c904a2ac67c8b76b9edccf1da00f3620998 | |
parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 [diff] |
spi: 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: Mark Brown <broonie@opensource.wolfsonmicro.com>