On 11 November 2015 at 19:00, Alexander Aring <alex.aring@xxxxxxxxx> wrote: > Hi, > > On Thu, Nov 05, 2015 at 03:34:45PM +0100, Alexander Aring wrote: >> >> What do you suggest to me for e.g. the raspberrypi power domain driver, >> also simple ignore such error handling? >> > > ping, I also can add some WARN_ON_ONCE, if the list for sub-domains, > etc. are not empty. This would then report about wrong use of > pm_genpd_uninit. > > - Alex Sorry for the delay. I think what you suggest would be an okay solution, at least it will improve the current behaviour. We should verify for sub-domains, attached devices, and if the genpd has an of-provider. That's all I can think of right now, but there may be other things as well. Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html