commit | b24ccccaee5e6a73f461b1ca7bbb55d3dfc24a2d | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Oct 25 17:23:37 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Nov 18 17:03:32 2016 -0200 |
tree | 7a5024af86170551dbf79c9c58366e2c85cc9a43 | |
parent | e7cd17a29d72868aa5cfbbd4de7c54a28ed30ff0 [diff] |
[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>