forked from Minki/linux
12b38ea040
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> |
||
---|---|---|
.. | ||
hi6421-spmi-pmic.c | ||
hi6421v600-regulator.c | ||
hisi-spmi-controller.c | ||
hisilicon,hi6421-spmi-pmic.yaml | ||
hisilicon,hisi-spmi-controller.yaml | ||
Kconfig | ||
Makefile | ||
phy-hi3670-usb3.c | ||
phy-hi3670-usb3.yaml | ||
TODO |