Re: [PATCH 38/48] drm: omapdrm: dsi: Use dev pointer directly in dsi_bind() function

2017-10-17 Thread Sebastian Reichel
Hi, On Fri, Oct 13, 2017 at 05:59:34PM +0300, Laurent Pinchart wrote: > The dsi_bind() function receives a pointer to a struct device that it > casts to a struct platform_device, only to use the platform device's dev > field through the code. Use the dev pointer directly. > > While at it rename t

[PATCH 38/48] drm: omapdrm: dsi: Use dev pointer directly in dsi_bind() function

2017-10-13 Thread Laurent Pinchart
The dsi_bind() function receives a pointer to a struct device that it casts to a struct platform_device, only to use the platform device's dev field through the code. Use the dev pointer directly. While at it rename the struct platform_device pointer dsidev to pdev to make it more explicit. Signe