platform/x86: intel_pmc_ipc: Cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | platform/x86: intel_pmc_ipc: Make intel_pmc_gcr_update() staticarch/ drivers/ | +1 | 0 replies | |
| 2/9 | platform/x86: intel_pmc_ipc: Make intel_pmc_ipc_simple_command() staticarch/ drivers/ | +1 | 0 replies | |
| 3/9 | platform/x86: intel_pmc_ipc: Make intel_pmc_ipc_raw_cmd() staticarch/ drivers/ | +2 | 0 replies | |
| 4/9 | platform/x86: intel_pmc_ipc: Drop intel_pmc_gcr_read() and intel_pmc_gcr_write()arch/ drivers/ | +0 | 0 replies | |
| 5/9 | platform/x86: intel_pmc_ipc: Drop ipc_data_readb()drivers/ | +0 | 0 replies | |
| 6/9 | platform/x86: intel_pmc_ipc: Get rid of unnecessary includesdrivers/ | +0 | 0 replies | |
| 7/9 | platform/x86: intel_pmc_ipc: Use octal permissions in sysfs attributesdrivers/ | +2 | 0 replies | |
| 8/9 | platform/x86: intel_pmc_ipc: Propagate error from kstrtoul()drivers/ | +3 | 0 replies | |
| 9/9 | platform/x86: intel_pmc_ipc: Switch to use driver->dev_groupsdrivers/ | +7 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] platform/x86: intel_pmc_ipc: Cleanups
Hi,
This is another independent cleanup series that I split out from my SCU/PMC IPC rework patch set [1] as suggested by Greg. This removes code that is not used anywhere and makes certain functions static as they are not called outside of the driver. We also make the driver to use driver->dev_groups to expose sysfs attributes.
[1] https://lkml.org/lkml/2020/1/21/678
Mika Westerberg (9):
platform/x86: intel_pmc_ipc: Make intel_pmc_gcr_update() static platform/x86: intel_pmc_ipc: Make intel_pmc_ipc_simple_command() static platform/x86: intel_pmc_ipc: Make intel_pmc_ipc_raw_cmd() static platform/x86: intel_pmc_ipc: Drop intel_pmc_gcr_read() and intel_pmc_gcr_write() platform/x86: intel_pmc_ipc: Drop ipc_data_readb()
platform/x86: intel_pmc_ipc: Get rid of unnecessary includes platform/x86: intel_pmc_ipc: Use octal permissions in sysfs attributes platform/x86: intel_pmc_ipc: Propagate error from kstrtoul() platform/x86: intel_pmc_ipc: Switch to use driver->dev_groups
arch/x86/include/asm/intel_pmc_ipc.h | 32 -------- drivers/platform/x86/intel_pmc_ipc.c | 114 ++++----------------------- 2 files changed, 16 insertions(+), 130 deletions(-)
Signature · 1 line
2.24.1