Message ID | 1605177598-23501-12-git-send-email-gene.chen.richtek@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | mfd: mt6360: Merge different sub-devices I2C read/write | expand |
diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c index 4bcfa7f..3b6490c 100644 --- a/drivers/mfd/mt6360-core.c +++ b/drivers/mfd/mt6360-core.c @@ -339,8 +339,7 @@ static const struct mfd_cell mt6360_devs[] = { NULL, 0, 0, "mediatek,mt6360-chg"), OF_MFD_CELL("mt6360-led", mt6360_led_resources, NULL, 0, 0, "mediatek,mt6360-led"), - OF_MFD_CELL("mt6360-regulator", mt6360_regulator_resources, - NULL, 0, 0, "mediatek,mt6360-regulator"), + MFD_CELL_RES("mt6360-regulator", mt6360_regulator_resources), OF_MFD_CELL("mt6360-tcpc", NULL, NULL, 0, 0, "mediatek,mt6360-tcpc"), };