Re: [PATCH 2/9] platform/x86: intel_pmc_core: Remove global struct pmc_dev

2021-04-07 Thread Rajneesh Bhardwaj
Reviewed-by: Rajneesh Bhardwaj On Wed, Mar 31, 2021 at 11:06 PM David E. Box wrote: > > The intel_pmc_core driver did not always bind to a device which meant it > lacked a struct device that could be used to maintain driver data. So a > global instance of struct pmc_dev was used for this

Re: [PATCH 2/9] platform/x86: intel_pmc_core: Remove global struct pmc_dev

2021-04-07 Thread Hans de Goede
Hi, On 4/1/21 5:05 AM, David E. Box wrote: > The intel_pmc_core driver did not always bind to a device which meant it > lacked a struct device that could be used to maintain driver data. So a > global instance of struct pmc_dev was used for this purpose and functions > accessed this directly.

[PATCH 2/9] platform/x86: intel_pmc_core: Remove global struct pmc_dev

2021-03-31 Thread David E. Box
The intel_pmc_core driver did not always bind to a device which meant it lacked a struct device that could be used to maintain driver data. So a global instance of struct pmc_dev was used for this purpose and functions accessed this directly. Since the driver now binds to an ACPI device, remove