On Thu, Mar 6, 2014 at 10:31 AM, Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> wrote: > In max732x_probe() driver allocates dummy I2C device (if number of ports > is greater than 8) however it is not unregistered if probe fails later. > Fix the leak by unregistering dummy I2C device if it was allocated. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html