ac100 90 drivers/mfd/ac100.c struct ac100_dev *ac100; ac100 93 drivers/mfd/ac100.c ac100 = devm_kzalloc(&rdev->dev, sizeof(*ac100), GFP_KERNEL); ac100 94 drivers/mfd/ac100.c if (!ac100) ac100 97 drivers/mfd/ac100.c ac100->dev = &rdev->dev; ac100 98 drivers/mfd/ac100.c sunxi_rsb_device_set_drvdata(rdev, ac100); ac100 100 drivers/mfd/ac100.c ac100->regmap = devm_regmap_init_sunxi_rsb(rdev, &ac100_regmap_config); ac100 101 drivers/mfd/ac100.c if (IS_ERR(ac100->regmap)) { ac100 102 drivers/mfd/ac100.c ret = PTR_ERR(ac100->regmap); ac100 103 drivers/mfd/ac100.c dev_err(ac100->dev, "regmap init failed: %d\n", ret); ac100 107 drivers/mfd/ac100.c ret = devm_mfd_add_devices(ac100->dev, PLATFORM_DEVID_NONE, ac100_cells, ac100 110 drivers/mfd/ac100.c dev_err(ac100->dev, "failed to add MFD devices: %d\n", ret); ac100 568 drivers/rtc/rtc-ac100.c struct ac100_dev *ac100 = dev_get_drvdata(pdev->dev.parent); ac100 578 drivers/rtc/rtc-ac100.c chip->regmap = ac100->regmap;