]> git.baikalelectronics.ru Git - kernel.git/commit
usb: ohci-platform: use reset array API
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 1 Nov 2017 16:01:59 +0000 (01:01 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Nov 2017 17:22:26 +0000 (18:22 +0100)
commit1576b2b0f147e7ca6367e201166bdd2ac26ff588
treedfe9ff7d685275001c02aced30704401193ffb46
parentf7be24521bee274c56d20e9415cb8150b29cd5b6
usb: ohci-platform: use reset array API

Generic drivers like this need to control arbitrary number of reset
lines.  Instead of hard-coding the maximum number of resets, use the
reset array API.  It can manage a bunch of resets behind the scene.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-platform.c