Files
linux/drivers
Christophe JAILLET 12b38ea040 staging: spmi: hisi-spmi-controller: Fix some error handling paths
IN the probe function, if an error occurs after calling
'spmi_controller_alloc()', it must be undone by a corresponding
'spmi_controller_put() call.

In the remove function, use 'spmi_controller_put(ctrl)' instead of
'kfree(ctrl)'.

While a it fix an error message
(s/spmi_add_controller/spmi_controller_add/)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201213151105.137731-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-28 15:14:53 +01:00
..
2020-12-22 17:59:11 +01:00
2020-12-09 19:26:02 -06:00
2020-12-15 15:24:52 +01:00
2020-12-15 22:50:12 +11:00
2020-12-10 10:45:36 +01:00
2020-12-09 19:44:34 +01:00