Hi, It seems that the core suspend code can be simplified even further. Namely, it's possible to reduce code duplication in drivers/base/power/suspend.c with the help of an auxiliary inline finction and it's possible to remove the suspend and resume support from struct device_type. Comments welcome. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm