diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-10-25 21:23:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 20:03:32 +0100 |
commit | b24ccccaee5e6a73f461b1ca7bbb55d3dfc24a2d (patch) | |
tree | 7a5024af86170551dbf79c9c58366e2c85cc9a43 /drivers/mfd/wm8994-irq.c | |
parent | [media] drivers/media/media-device: fix double free bug in _unregister() (diff) | |
download | linux-b24ccccaee5e6a73f461b1ca7bbb55d3dfc24a2d.tar.xz linux-b24ccccaee5e6a73f461b1ca7bbb55d3dfc24a2d.zip |
[media] media: rc: nuvoton: eliminate member pdev from struct nvt_dev
Member pdev of struct nvt_dev is needed only to access &pdev->dev.
We can get rid of this it by using rdev->dev.parent instead
(both point to the same struct device).
Setting rdev->dev.parent can be removed from the probe function
as this is done by devm_rc_allocate_device now.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/mfd/wm8994-irq.c')
0 files changed, 0 insertions, 0 deletions