diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-06 22:48:11 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-08-17 12:35:45 +0800 |
commit | f940b0272a7313176ed48696c397e55a9e4b4850 (patch) | |
tree | 63e85b57f049cedc72499f869ff39186d8fae39a /arch/arm/mach-mxs/devices/platform-mxs-pwm.c | |
parent | 4a1e75b60fff66b668b06a18fea100adc5613f86 (diff) | |
download | linux-f940b0272a7313176ed48696c397e55a9e4b4850.tar.gz linux-f940b0272a7313176ed48696c397e55a9e4b4850.tar.bz2 linux-f940b0272a7313176ed48696c397e55a9e4b4850.zip |
ARM: mxs: remove platform device codes
With all the board files removed, there is no user for those platform
device code. Remove them.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/devices/platform-mxs-pwm.c')
-rw-r--r-- | arch/arm/mach-mxs/devices/platform-mxs-pwm.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-mxs/devices/platform-mxs-pwm.c b/arch/arm/mach-mxs/devices/platform-mxs-pwm.c deleted file mode 100644 index 680f5a902936..000000000000 --- a/arch/arm/mach-mxs/devices/platform-mxs-pwm.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2010 Pengutronix - * Sascha Hauer <s.hauer@pengutronix.de> - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License version 2 as published by the - * Free Software Foundation. - */ -#include <asm/sizes.h> -#include <mach/devices-common.h> - -struct platform_device *__init mxs_add_mxs_pwm(resource_size_t iobase, int id) -{ - struct resource res = { - .flags = IORESOURCE_MEM, - }; - - res.start = iobase + 0x10 + 0x20 * id; - res.end = res.start + 0x1f; - - return mxs_add_platform_device("mxs-pwm", id, &res, 1, NULL, 0); -} |