Re: [Patch v2 04/10] drm/panfrost: using dev_get_drvdata directly

2019-07-04 Thread Emil Velikov
On Thu, 4 Jul 2019 at 08:26, Fuqian Huang wrote: > > Several drivers cast a struct device pointer to a struct > platform_device pointer only to then call platform_get_drvdata(). > To improve readability, these constructs can be simplified > by using dev_get_drvdata() directly. > > Signed-off-by: F

[Patch v2 04/10] drm/panfrost: using dev_get_drvdata directly

2019-07-04 Thread Fuqian Huang
Several drivers cast a struct device pointer to a struct platform_device pointer only to then call platform_get_drvdata(). To improve readability, these constructs can be simplified by using dev_get_drvdata() directly. Signed-off-by: Fuqian Huang --- Changes in v2: - Make the commit message mor