i would like to use gpio-poweroff module in order to completely turn the power off. The Kernel is 3.14.52. This module checks if pm_power_off is NULL and when not it assigns it to its own callback implementation. pm_power_off is a function called at the end of the power down procedure. However, this callback function is set by the driver rtc-svns, which means that gpio_poweroff module cant assign its own callback, since it is not NULL at that point. As an ad-hoc solution I changed the source code and commented a part of the rtc-snvs driver, but I would like to know what should be the proper solution. How could I change the order of loading drivers? Or maybe there is some other solution?