]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/mfd/rohm-bd70528.c
mfd: Rohm PMICs: Use platform_device_id to match MFD sub-devices
[linux.git] / drivers / mfd / rohm-bd70528.c
index ef6786fd3b00e3ca67dd695310521e59aace7752..5c44d3b77b3e1c62afa1cd27fa3741409fbd50c3 100644 (file)
@@ -48,7 +48,7 @@ static struct mfd_cell bd70528_mfd_cells[] = {
         * We use BD71837 driver to drive the clock block. Only differences to
         * BD70528 clock gate are the register address and mask.
         */
-       { .name = "bd718xx-clk", },
+       { .name = "bd70528-clk", },
        { .name = "bd70528-wdt", },
        {
                .name = "bd70528-power",
@@ -236,7 +236,6 @@ static int bd70528_i2c_probe(struct i2c_client *i2c,
 
        dev_set_drvdata(&i2c->dev, &bd70528->chip);
 
-       bd70528->chip.chip_type = ROHM_CHIP_TYPE_BD70528;
        bd70528->chip.regmap = devm_regmap_init_i2c(i2c, &bd70528_regmap);
        if (IS_ERR(bd70528->chip.regmap)) {
                dev_err(&i2c->dev, "Failed to initialize Regmap\n");