[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210823093222.19544-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 23 Aug 2021 12:32:20 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org, platform-driver-x86@...r.kernel.org
Cc: Eric Piel <eric.piel@...mplin-utc.net>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans de Goede <hdegoede@...hat.com>,
Mark Gross <mgross@...ux.intel.com>
Subject: [RFT, PATCH v2 0/2] platform/x86: hp_accel: Clean up and convert
The pure ACPI drivers are not needed since we have a platform glue layer in
place. This allow to drop a lot of boiler plate code and duplication.
Patch 1 remove confusing call to _INI method and citing myself from v1:
"Not sure what buys us to run _INI on PM calls. It's against the spec
AFAICT. In any case ACPICA runs _INI as per specification when devices are
instantiated."
Patch 2 converts to platform driver.
Both needs to be tested, that's why Hans mentioned Kai-Heng.
Changelog v2:
- split to two patches (Hans)
- Cc'ed to Kai-Heng (Hans)
- removed stale data structure field in the header file
Andy Shevchenko (2):
platform/x86: hp_accel: Remove _INI method call
platform/x86: hp_accel: Convert to be a platform driver
drivers/misc/lis3lv02d/lis3lv02d.h | 1 -
drivers/platform/x86/hp_accel.c | 78 ++++++------------------------
2 files changed, 15 insertions(+), 64 deletions(-)
--
2.32.0
Powered by blists - more mailing lists