staging: pi433: Remove SET_CHECKED usage from pi433_probe
authorSimon Sandström <simon@nikanor.nu>
Wed, 6 Dec 2017 20:42:24 +0000 (21:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 21:07:23 +0000 (22:07 +0100)
commit54fc95a7c59612263126c2eb4d46cf674095b63c
treed5b983f894b75757bb6d372cb6a97751254ce2ae
parent534a2610e1445689055cc9f4fbb55eb7002378ef
staging: pi433: Remove SET_CHECKED usage from pi433_probe

SET_CHECKED returns from the function on failure and in pi433_probe it is
necessary to free the GPIOs and the device on failure.

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c