[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZedI9vCoCf9KtHcr@smile.fi.intel.com>
Date: Tue, 5 Mar 2024 18:31:50 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Dave Hansen <dave.hansen@...el.com>
Cc: Mateusz Jończyk <mat.jonczyk@...pl>,
Mario Limonciello <mario.limonciello@....com>,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH v1 1/1] x86/rtc: Remove unused intel-mid.h
On Tue, Mar 05, 2024 at 08:21:32AM -0800, Dave Hansen wrote:
> On 3/5/24 08:10, Andy Shevchenko wrote:
> > intel-mid.h is providing some core parts of the South Complex PM,
> > which are usually are not used by individual drivers. In particular,
> > this driver doesn't use it, so simply remove the unused header.
>
> Indeed. intel-mid.h provides a pretty small amount of stuff and it's
> included in quite a few random-looking spots. There's also gunk that's
> only compiled in if CONFIG_X86_INTEL_MID=y so if anyone _did_ somehow
> use any of those functions in generic code, they'd probably be creating
> compile problems.
>
> Any chance you'd like to look a _bit_ more widely and just clean up all
> of the unnecessary intel-mid.h #includes that are scattered around?
All relative patches just have been sent. They are independent, hence sent
separately. Please, apply, what you can, if there is no objection.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists