Register for suspend and resume notifications from kernel. This should be done as part of core_initcall so as to receive notification as close as possible to the actual event. Add hotplug_disable attribute to rq-stats node. Set/clear this attribute based on the suspend/resume events. CRS-fixed: 452456 Bug: 9022807 Change-Id: I76fee349b57f47df40785e9c2503e2e1cc6e064e Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org> Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>