![](https://secure.gravatar.com/avatar/d930951cb00393ecf9c3db3a56d78fa9.jpg?s=120&d=mm&r=g)
16 Aug
2021
16 Aug
'21
8:39 p.m.
On Sun, Aug 15, 2021 at 01:42:18AM +0530, Aakash Hemadri wrote:
- match = of_match_device(tegra30_ahub_of_match, &pdev->dev);
- match = of_device_get_match_data(&pdev->dev); if (!match)
Thierry, are you sure about your review here? As others have been pointing out of_device_get_match_data() returns match->data while of_match_device() returns the device.