summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJavier Martinez Canillas2014-10-16 18:48:50 +0200
committerMark Brown2014-10-20 13:23:50 +0200
commit5356e0da49e61e0de29a5f61996be66e97425217 (patch)
tree12b93a4b9876608271ac154d9271a1a3120093cd /include/linux/mfd
parentregulator: max77802: Don't treat OFF as an operating mode (diff)
downloadkernel-qcow2-linux-5356e0da49e61e0de29a5f61996be66e97425217.tar.gz
kernel-qcow2-linux-5356e0da49e61e0de29a5f61996be66e97425217.tar.xz
kernel-qcow2-linux-5356e0da49e61e0de29a5f61996be66e97425217.zip
regulator: max77802: Add header for operating modes
Add a header file for the max77802 constants that could be shared between the regulator driver and Device Tree source files. Also, remove standby and off opmodes since only normal and low power are valid operating modes. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max77686.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mfd/max77686.h b/include/linux/mfd/max77686.h
index 7e6dc4b2b795..553f7d09258a 100644
--- a/include/linux/mfd/max77686.h
+++ b/include/linux/mfd/max77686.h
@@ -131,13 +131,6 @@ enum max77686_opmode {
MAX77686_OPMODE_STANDBY,
};
-enum max77802_opmode {
- MAX77802_OPMODE_OFF,
- MAX77802_OPMODE_STANDBY,
- MAX77802_OPMODE_LP,
- MAX77802_OPMODE_NORMAL,
-};
-
struct max77686_opmode_data {
int id;
int mode;