Re: [RFC v2 1/5] drm/dsi: Refactor device creation

2015-10-30 Thread Andrzej Hajda
On 10/06/2015 11:24 AM, Archit Taneja wrote: > Simplify the mipi dsi device creation process. device_initialize and > device_add don't need to be called separately when creating > mipi_dsi_device's. Use device_register instead to simplify things. > > Create a helper function mipi_dsi_device_new

Re: [RFC v2 1/5] drm/dsi: Refactor device creation

2015-10-30 Thread Andrzej Hajda
On 10/06/2015 11:24 AM, Archit Taneja wrote: > Simplify the mipi dsi device creation process. device_initialize and > device_add don't need to be called separately when creating > mipi_dsi_device's. Use device_register instead to simplify things. > > Create a helper function mipi_dsi_device_new

[RFC v2 1/5] drm/dsi: Refactor device creation

2015-10-06 Thread Archit Taneja
Simplify the mipi dsi device creation process. device_initialize and device_add don't need to be called separately when creating mipi_dsi_device's. Use device_register instead to simplify things. Create a helper function mipi_dsi_device_new which takes in struct mipi_dsi_device_info and

[RFC v2 1/5] drm/dsi: Refactor device creation

2015-10-06 Thread Archit Taneja
Simplify the mipi dsi device creation process. device_initialize and device_add don't need to be called separately when creating mipi_dsi_device's. Use device_register instead to simplify things. Create a helper function mipi_dsi_device_new which takes in struct mipi_dsi_device_info and