I will resubmit the patch with suggested changes. -----Original Message----- From: Andy Shevchenko [mailto:andy.shevchenko@xxxxxxxxx] Sent: Saturday, May 27, 2017 3:52 AM To: Pavel Machek <pavel@xxxxxx> Cc: Darren Hart <dvhart@xxxxxxxxxxxxx>; Kushwaha, Priyalee <priyalee.kushwaha@xxxxxxxxx>; Chakravarty, Souvik K <souvik.k.chakravarty@xxxxxxxxx>; Andy Shevchenko <andy@xxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; Platform Driver <platform-driver-x86@xxxxxxxxxxxxxxx>; Rafael Wysocki <rjw@xxxxxxxxxxxxx>; Brown, Len <len.brown@xxxxxxxxx>; linux-pm@xxxxxxxxxxxxxxx Subject: Re: [PATCH v1 1/1] intel_telemetry_debugfs: fix oops found while load/unload module test On Sat, May 27, 2017 at 9:54 AM, Pavel Machek <pavel@xxxxxx> wrote: >> On Sat, May 27, 2017 at 08:17:39AM -0700, priyalee.kushwaha@xxxxxxxxx wrote: >> +Rafael, Len, Pavel, linux-pm: Is there a preferred approach for >> +dealing with >> CONFIG_PM_SLEEP? > > Yeah, empty "unregister_pm_notifier" in !CONFIG_PM_SLEEP case sounds > like a good idea. I like the idea, though I would let Rafael to speak up. -- With Best Regards, Andy Shevchenko