phy-sun4i-usb: Fix irq free conditions to match request conditions
authorHans de Goede <hdegoede@redhat.com>
Sat, 18 Jun 2016 09:31:33 +0000 (11:31 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 22 Jun 2016 06:03:46 +0000 (11:33 +0530)
commit04e59a0211ff012ba60c00baca673482570784e9
tree94838caee6dbd50b1393b321e05e4497810dd285
parent6c081ff6fd5abd621797570be43d5e3c6acfcd58
phy-sun4i-usb: Fix irq free conditions to match request conditions

commit 5cf700ac9d50 ("phy: phy-sun4i-usb: Fix optional gpios failing
probe")
changed the condition under which irqs are requested, but omitted matching
changes to sun4i_usb_phy_remove(). This commit fixes this.

Fixes: 5cf700ac9d50 ("phy: phy-sun4i-usb: Fix optional gpios failing probe")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun4i-usb.c