diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-23 12:35:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-30 14:46:15 +0200 |
commit | 9093ca8891e238adc323629d69aaae379fd38bb0 (patch) | |
tree | 948ddc6a63c685b400bfcaa297688917e42f1031 /drivers/char/xilinx_hwicap/xilinx_hwicap.h | |
parent | mei: me: remove artificial singleton requirement (diff) | |
download | linux-9093ca8891e238adc323629d69aaae379fd38bb0.tar.xz linux-9093ca8891e238adc323629d69aaae379fd38bb0.zip |
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>
Diffstat (limited to 'drivers/char/xilinx_hwicap/xilinx_hwicap.h')
0 files changed, 0 insertions, 0 deletions