]> git.baikalelectronics.ru Git - kernel.git/commit
net: irda: pxaficp_ir: use platform_set_drvdata()
authorLibo Chen <libo.chen@huawei.com>
Wed, 21 Aug 2013 10:15:11 +0000 (18:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 03:51:10 +0000 (20:51 -0700)
commit51358ff61e259c4dc379beee01011487c3d06e2e
tree47ca61ba34b467b30186c899006d33f43aefb318
parent3386dfca2b58323e624503601053927504fc4852
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>
drivers/net/irda/pxaficp_ir.c