summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2011-04-01 18:43:17 +0800
committerRobby Cai <R63905@freescale.com>2011-05-09 11:16:12 +0800
commit404bbc667d6f755da3d72459f22ab518976c7002 (patch)
tree03ce86f4ff0dd746df606f18cd26edeabf33d21e /arch
parent41c8180b2e42b03ca826632646e53509252c4392 (diff)
ENGR00141425-2 MX50 RDP: Adjust MC13892 driver on new framework
Changed the .modalias to "mc13892", so that the PMIC SPI driver can use the modalias to distinguish the "mc13892" and the new PMIC "mc34708". Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit bd5f50f7b22eec1a69e920afc63047db906d6999)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c b/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
index e7b0af166872..21ea3b1d5f58 100644
--- a/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
+++ b/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
@@ -1,21 +1,19 @@
/*
* Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved.
- */
-
-/*
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
-
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/module.h>
@@ -413,7 +411,7 @@ static struct mc13892_platform_data mc13892_plat = {
};
static struct spi_board_info __initdata mc13892_spi_device = {
- .modalias = "pmic_spi",
+ .modalias = "mc13892",
.irq = gpio_to_irq(114),
.max_speed_hz = 6000000, /* max spi SCK clock speed in HZ */
.bus_num = 3,