Searched refs:twl4030_madc_bat (Results 1 – 1 of 1) sorted by relevance
188 struct twl4030_madc_battery *twl4030_madc_bat; in twl4030_madc_battery_probe() local193 twl4030_madc_bat = devm_kzalloc(&pdev->dev, sizeof(*twl4030_madc_bat), in twl4030_madc_battery_probe()195 if (!twl4030_madc_bat) in twl4030_madc_battery_probe()199 if (IS_ERR(twl4030_madc_bat->channel_temp)) { in twl4030_madc_battery_probe()205 if (IS_ERR(twl4030_madc_bat->channel_ichg)) { in twl4030_madc_battery_probe()211 if (IS_ERR(twl4030_madc_bat->channel_vbat)) { in twl4030_madc_battery_probe()224 twl4030_madc_bat->pdata = pdata; in twl4030_madc_battery_probe()225 platform_set_drvdata(pdev, twl4030_madc_bat); in twl4030_madc_battery_probe()226 psy_cfg.drv_data = twl4030_madc_bat; in twl4030_madc_battery_probe()230 if (IS_ERR(twl4030_madc_bat->psy)) { in twl4030_madc_battery_probe()[all …]