[PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform
Ulf Hansson
ulf.hansson at linaro.org
Wed Oct 22 01:29:51 PDT 2014
On 22 October 2014 10:07, Geert Uytterhoeven <geert at linux-m68k.org> wrote:
> On Wed, Oct 22, 2014 at 9:58 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>> Now, I just realized that while Geert added attach|detach_dev()
>> callbacks for the generic PM domain, those are both "void" callbacks.
>> It means the deferred probe error handling is broken for these
>> callbacks. We should convert the attach_dev() callback into an int, I
>> will cook a patch immediately.
>
> That was changed in v3:
> - Move calling of the callbacks to a point where dev->pm_domain is
> valid, so the domain parameter is no longer needed,
That's good.
> - Make callbacks return void.
>
But not this. :-) Sorry, for being too quick in reviewing that time.
Kind regards
Uffe
More information about the Linux-rockchip
mailing list