mchip             475 drivers/regulator/max8973-regulator.c 	struct max8973_chip *mchip = data;
mchip             479 drivers/regulator/max8973-regulator.c 	ret = regmap_read(mchip->regmap, MAX8973_CHIPID1, &val);
mchip             481 drivers/regulator/max8973-regulator.c 		dev_err(mchip->dev, "Failed to read register CHIPID1, %d", ret);
mchip             487 drivers/regulator/max8973-regulator.c 		*temp = mchip->junction_temp_warning + 1000;
mchip             496 drivers/regulator/max8973-regulator.c 	struct max8973_chip *mchip = data;
mchip             498 drivers/regulator/max8973-regulator.c 	thermal_zone_device_update(mchip->tz_device,
mchip             508 drivers/regulator/max8973-regulator.c static int max8973_thermal_init(struct max8973_chip *mchip)
mchip             515 drivers/regulator/max8973-regulator.c 	if (mchip->id != MAX77621)
mchip             518 drivers/regulator/max8973-regulator.c 	tzd = devm_thermal_zone_of_sensor_register(mchip->dev, 0, mchip,
mchip             522 drivers/regulator/max8973-regulator.c 		dev_err(mchip->dev, "Failed to register thermal sensor: %d\n",
mchip             527 drivers/regulator/max8973-regulator.c 	if (mchip->irq <= 0)
mchip             530 drivers/regulator/max8973-regulator.c 	irq_data = irq_get_irq_data(mchip->irq);
mchip             534 drivers/regulator/max8973-regulator.c 	ret = devm_request_threaded_irq(mchip->dev, mchip->irq, NULL,
mchip             537 drivers/regulator/max8973-regulator.c 					dev_name(mchip->dev), mchip);
mchip             539 drivers/regulator/max8973-regulator.c 		dev_err(mchip->dev, "Failed to request irq %d, %d\n",
mchip             540 drivers/regulator/max8973-regulator.c 			mchip->irq, ret);