Re: [PATCH v2 2/3] pwm: Convert pwm-pxa to use devm_* APIs

From: Axel Lin
Date: Sun Jul 01 2012 - 05:53:42 EST


>> - pwmchip_remove(&chip->chip);
>> -
>> - iounmap(chip->mmio_base);
>> -
>> - r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>> - release_mem_region(r->start, resource_size(r));
>> -
>> - clk_put(chip->clk);
>> - kfree(chip);
>> - return 0;
>> + return pwmchip_remove(&chip->chip);
>
> What I meant was that this driver didn't return an error on failure of
> pwmchip_remove() before so incorporating this change is unrelated to
> this patch. Either make it a separate patch (preferably) or at least
> mention it in the commit message.
Oh. I just thought it is a trivial change and it probably ok to do so.
Anyway, Since you prefer having this change in a separate patch,
I'd send a v3 that leave this part unchanged.

Regards,
Axel

>
> Thierry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/