commit | 9bcadaef9189cce6b712a40ec2a359629e06795f | [log] [tgz] |
---|---|---|
author | Libo Chen <libo.chen@huawei.com> | Wed Aug 21 18:15:11 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 21 20:51:10 2013 -0700 |
tree | 47ca61ba34b467b30186c899006d33f43aefb318 | |
parent | d94a0147dcd29189111491adf370ca11616557ff [diff] |
net: irda: pxaficp_ir: use platform_set_drvdata() Use the wrapper functions for getting and setting the driver data using platform_device instead of using deva_set_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>