[PATCH 0/7] Use regmap+devm in pm8xxx input drivers
Stephen Boyd
sboyd at codeaurora.org
Tue Dec 10 18:43:09 EST 2013
These patches move the pm8xxx input drivers over to use devm_* APIs
and regmap. This breaks the dependency of these drivers on the pm8xxx
specific read/write calls and also simplifies the probe code a bit.
There was no devm_request_any_context_irq() available, so I've added
it here.
Stephen Boyd (7):
Input: pmic8xxx-pwrkey - Pass input device directly to interrupt
Input: pmic8xxx-pwrkey - Migrate to regmap APIs
Input: pm8xxx-vibrator - Migrate to devm_* APIs
Input: pm8xxx-vibrator - Migrate to regmap APIs
genirq: Add devm_request_any_context_irq()
Input: pmic8xxx-keypad - Migrate to devm_* APIs
Input: pmic8xxx-keypad - Migrate to regmap APIs
drivers/input/keyboard/pmic8xxx-keypad.c | 143 ++++++++++---------------------
drivers/input/misc/pm8xxx-vibrator.c | 107 ++++++-----------------
drivers/input/misc/pmic8xxx-pwrkey.c | 35 ++++----
include/linux/interrupt.h | 5 ++
kernel/irq/devres.c | 45 ++++++++++
5 files changed, 141 insertions(+), 194 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
More information about the linux-arm-kernel
mailing list