Home
last modified time | relevance | path

Searched hist:e73b49f1c4e75c44d62585cc3e5b9c7894b61c32 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/
H A Dphy-core.cdiff e73b49f1c4e75c44d62585cc3e5b9c7894b61c32 Thu Jul 10 01:25:02 CDT 2014 Roger Quadros <rogerq@ti.com> phy: core: Fix error path in phy_create()

Prevent resources from being freed twice in case device_add() call
fails within phy_create(). Also use ida_simple_remove() instead of
ida_remove() as we had used ida_simple_get() to allocate the ida.

Cc: 3.13+ <stable@vger.kernel.org> # 3.13+
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>