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:
parent
e8b54aaff3
commit
2b03e508cc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue