commit | 9093ca8891e238adc323629d69aaae379fd38bb0 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu May 23 19:35:23 2013 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 30 21:46:15 2013 +0900 |
tree | 948ddc6a63c685b400bfcaa297688917e42f1031 | |
parent | c6148f8f8ceb18fd6ae3b637c56e8327b73873eb [diff] |
misc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>