9
0
Fork 0

Rename mc13892 driver name to mc13xxx

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2012-04-10 23:44:06 +04:00 committed by Sascha Hauer
parent e8b54aaff3
commit 2b03e508cc
3 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ struct imx_nand_platform_data nand_info = {
static struct i2c_board_info i2c_devices[] = {
{
I2C_BOARD_INFO("mc13892-i2c", 0x08),
I2C_BOARD_INFO("mc13xxx-i2c", 0x08),
}, {
I2C_BOARD_INFO("mc9sdz60", 0x69),
},
@ -410,7 +410,7 @@ static int f3s_pmic_init(void)
mc13892 = mc13892_get();
if (!mc13892) {
printf("FAILED to get mc13892 handle!\n");
printf("FAILED to get mc13xxx handle!\n");
return 0;
}

View File

@ -110,7 +110,7 @@ static struct spi_imx_master spi_0_data = {
static const struct spi_board_info mx51_babbage_spi_board_info[] = {
{
.name = "mc13892-spi",
.name = "mc13xxx-spi",
.max_speed_hz = 300000,
.bus_num = 0,
.chip_select = 0,

View File

@ -30,7 +30,7 @@
#include <i2c/i2c.h>
#include <mfd/mc13xxx.h>
#define DRIVERNAME "mc13892"
#define DRIVERNAME "mc13xxx"
#define to_mc13892(a) container_of(a, struct mc13892, cdev)
@ -308,12 +308,12 @@ static int mc_spi_probe(struct device_d *dev)
}
static struct driver_d mc_i2c_driver = {
.name = "mc13892-i2c",
.name = "mc13xxx-i2c",
.probe = mc_i2c_probe,
};
static struct driver_d mc_spi_driver = {
.name = "mc13892-spi",
.name = "mc13xxx-spi",
.probe = mc_spi_probe,
};