summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500-regulators.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-18 16:21:36 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-07-12 11:23:50 +0200
commit79886be09751c543155608036134b9948288bfc3 (patch)
treef7c3e463edbcf36ae67e764b3ead91e21fab4edb /arch/arm/mach-ux500/board-mop500-regulators.h
parent37dc78d9b17c971479f742d6d08f38d8f2beb688 (diff)
downloadlinux-79886be09751c543155608036134b9948288bfc3.tar.bz2
ARM: ux500: move ab8500_regulator_plat_data into driver
There is only one instance of ab8500_regulator_platform_data, and it's safe to assume we won't ever merge another one, so it's rather pointless to pass it through multiple levels of platform data pointers. This moves the structure and everything referenced by it into the driver that uses it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-regulators.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500-regulators.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-regulators.h b/arch/arm/mach-ux500/board-mop500-regulators.h
deleted file mode 100644
index 3bbb0831b0cf..000000000000
--- a/arch/arm/mach-ux500/board-mop500-regulators.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (C) ST-Ericsson SA 2010
- *
- * License Terms: GNU General Public License v2
- *
- * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
- *
- * MOP500 board specific initialization for regulators
- */
-
-#ifndef __BOARD_MOP500_REGULATORS_H
-#define __BOARD_MOP500_REGULATORS_H
-
-extern struct ab8500_regulator_platform_data ab8500_regulator_plat_data;
-
-#endif