[RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-11-03 Thread Archit Taneja
On 11/02/2015 04:12 PM, Andrzej Hajda wrote: > On 11/02/2015 07:28 AM, Archit Taneja wrote: >> >> On 10/30/2015 07:51 PM, Andrzej Hajda wrote: >>> On 10/06/2015 11:24 AM, Archit Taneja wrote: A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It mig

[RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-11-02 Thread Archit Taneja
On 10/30/2015 07:51 PM, Andrzej Hajda wrote: > On 10/06/2015 11:24 AM, Archit Taneja wrote: >> A driver calling mipi_dsi_device_new might want to unregister the device >> once it's done. It might also require it in an error handling path in >> case something didn't go right. >> >> When the dsi ho

[RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-11-02 Thread Andrzej Hajda
On 11/02/2015 07:28 AM, Archit Taneja wrote: > > On 10/30/2015 07:51 PM, Andrzej Hajda wrote: >> On 10/06/2015 11:24 AM, Archit Taneja wrote: >>> A driver calling mipi_dsi_device_new might want to unregister the device >>> once it's done. It might also require it in an error handling path in >>> ca

[RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-10-30 Thread Andrzej Hajda
On 10/06/2015 11:24 AM, Archit Taneja wrote: > A driver calling mipi_dsi_device_new might want to unregister the device > once it's done. It might also require it in an error handling path in > case something didn't go right. > > When the dsi host driver calls mipi_dsi_host_unregister, the devices

[RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-10-06 Thread Archit Taneja
A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It might also require it in an error handling path in case something didn't go right. When the dsi host driver calls mipi_dsi_host_unregister, the devices created by both DT and and without DT will be removed.