summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/palmas.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2014-06-18 15:28:57 +0530
committerMark Brown <broonie@linaro.org>2014-06-23 12:30:56 +0100
commit7ec70c73c9e93556fd19bb6bdfbbd089d9db438b (patch)
tree65f23542272f361576c694875239e5522018d641 /drivers/mfd/palmas.c
parent9f057dc1d01383e6975e515ba8e661d2aeb6bdfc (diff)
downloadlinux-stable-7ec70c73c9e93556fd19bb6bdfbbd089d9db438b.tar.gz
linux-stable-7ec70c73c9e93556fd19bb6bdfbbd089d9db438b.tar.bz2
linux-stable-7ec70c73c9e93556fd19bb6bdfbbd089d9db438b.zip
mfd: palmas: shift the palmas_sleep_requestor_info structure definition to the header file
shift the palmas_sleep_requestor_info structure definition to the header file. Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/mfd/palmas.c')
-rw-r--r--drivers/mfd/palmas.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index 6e1786187dd8..c12759d1bd7c 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -25,16 +25,6 @@
#include <linux/mfd/palmas.h>
#include <linux/of_device.h>
-#define PALMAS_EXT_REQ (PALMAS_EXT_CONTROL_ENABLE1 | \
- PALMAS_EXT_CONTROL_ENABLE2 | \
- PALMAS_EXT_CONTROL_NSLEEP)
-
-struct palmas_sleep_requestor_info {
- int id;
- int reg_offset;
- int bit_pos;
-};
-
#define EXTERNAL_REQUESTOR(_id, _offset, _pos) \
[PALMAS_EXTERNAL_REQSTR_ID_##_id] = { \
.id = PALMAS_EXTERNAL_REQSTR_ID_##_id, \