+25
−35
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Failure path of platform_device_add was almost the same as platform_device_del. Refactor same code in a function. Acked-by:Rob Herring <robh@kernel.org> Signed-off-by:
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>