summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/init.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-06-08 18:54:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-08 10:55:17 -0700
commit76d15c8fba655c9b2d60cf01834858f2c44483dc (patch)
tree85ebcd2182c75204720c1d5465ae1eec9bc108d4 /drivers/infiniband/hw/hfi1/init.c
parent62d9694a003dba585026df36c181e3ca930aeafc (diff)
ehci-platform: Add support for shared reset controllers
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-platform reset handling code inline with ohci-platform. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/init.c')
0 files changed, 0 insertions, 0 deletions