Re: [PATCH] ehci-platform: Add support for shared reset controllers

2016-06-08 Thread Hans de Goede
Hi, On 08-06-16 19:47, Alan Stern wrote: On Wed, 8 Jun 2016, Hans de Goede wrote: Add support for shared platform controllers by using devm_reset_control_get_shared_by_index instead of of_reset_control_get_by_index. Note we use the devm function because there is no of_reset_control_get_shared

Re: [PATCH] ehci-platform: Add support for shared reset controllers

2016-06-08 Thread Alan Stern
On Wed, 8 Jun 2016, Hans de Goede wrote: > Add support for shared platform controllers by using > devm_reset_control_get_shared_by_index instead of > of_reset_control_get_by_index. > > Note we use the devm function because there is no > of_reset_control_get_shared_by_index, this also leads > to a

[PATCH] ehci-platform: Add support for shared reset controllers

2016-06-08 Thread Hans de Goede
Add support for shared platform controllers by using devm_reset_control_get_shared_by_index instead of of_reset_control_get_by_index. Note we use the devm function because there is no of_reset_control_get_shared_by_index, this also leads to a nice cleanup of the cleanup code. This brings the ehci