mfd: mt6360: Indicate sub-dev compatible name by using "-"

Indicate sub-dev compatible name by using "-".

Signed-off-by: Gene Chen <gene_chen@richtek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Gene Chen 2021-05-18 01:33:07 +08:00 committed by Lee Jones
parent 50e89312e3
commit 12f3f13194

View File

@ -293,18 +293,18 @@ static const struct resource mt6360_ldo_resources[] = {
};
static const struct mfd_cell mt6360_devs[] = {
MFD_CELL_OF("mt6360_adc", mt6360_adc_resources,
NULL, 0, 0, "mediatek,mt6360_adc"),
MFD_CELL_OF("mt6360_chg", mt6360_chg_resources,
NULL, 0, 0, "mediatek,mt6360_chg"),
MFD_CELL_OF("mt6360_led", mt6360_led_resources,
NULL, 0, 0, "mediatek,mt6360_led"),
MFD_CELL_OF("mt6360_pmic", mt6360_pmic_resources,
NULL, 0, 0, "mediatek,mt6360_pmic"),
MFD_CELL_OF("mt6360_ldo", mt6360_ldo_resources,
NULL, 0, 0, "mediatek,mt6360_ldo"),
MFD_CELL_OF("mt6360_tcpc", NULL,
NULL, 0, 0, "mediatek,mt6360_tcpc"),
MFD_CELL_OF("mt6360-adc", mt6360_adc_resources,
NULL, 0, 0, "mediatek,mt6360-adc"),
MFD_CELL_OF("mt6360-chg", mt6360_chg_resources,
NULL, 0, 0, "mediatek,mt6360-chg"),
MFD_CELL_OF("mt6360-led", mt6360_led_resources,
NULL, 0, 0, "mediatek,mt6360-led"),
MFD_CELL_OF("mt6360-pmic", mt6360_pmic_resources,
NULL, 0, 0, "mediatek,mt6360-pmic"),
MFD_CELL_OF("mt6360-ldo", mt6360_ldo_resources,
NULL, 0, 0, "mediatek,mt6360-ldo"),
MFD_CELL_OF("mt6360-tcpc", NULL,
NULL, 0, 0, "mediatek,mt6360-tcpc"),
};
static const unsigned short mt6360_slave_addr[MT6360_SLAVE_MAX] = {