Skip to content

RFC ARM: at91: cpuidle: encapsulate and move the driver to drivers/cpuidle

Daniel Lezcano linux-arm-kernel linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: at91: cpuidle: convert to platform driverarch/arm/mach-at91/cpuidle.c arch/arm/mach-at91/pm.c+30 -150 replies
2/2ARM: at91: cpuidle: Move driver to drivers/cpuidlearch/arm/mach-at91/Makefile arch/arm/mach-at91/cpuidle.c drivers/cpuidle/Kconfig.arm +2 more+76 -701 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] ARM: at91: cpuidle: encapsulate and move the driver to drivers/cpuidle

Several patches were send to encapsulate the standby code.

Creating a platform driver model allows to finish to encapsulate this code more and make possible to move the driver to the drivers/cpuidle directory.

I was not able to test the patchset, I don't have the hardware.

Daniel Lezcano (2):
ARM: at91: cpuidle: convert to platform driver
ARM: at91: cpuidle: Move driver to drivers/cpuidle

 arch/arm/mach-at91/Makefile    |    1 -
 arch/arm/mach-at91/cpuidle.c   |   68 ---------------------------------------
 arch/arm/mach-at91/pm.c        |   16 +++++++++-
 drivers/cpuidle/Kconfig.arm    |    6 ++++
 drivers/cpuidle/Makefile       |    1 +
 drivers/cpuidle/cpuidle-at91.c |   69 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 91 insertions(+), 70 deletions(-)
 delete mode 100644 arch/arm/mach-at91/cpuidle.c
 create mode 100644 drivers/cpuidle/cpuidle-at91.c
Signature · 1 line
1.7.9.5