Hi Biju, On Tue, 2021-11-30 at 15:57 +0000, Biju Das wrote: > The RZ/G2L SoC incorporates a thermal sensor unit (TSU) that measures the > temperature inside the LSI. > > The thermal sensor in this unit measures temperatures in the range from > −40 degree Celsius to 125 degree Celsius with an accuracy of ±3°C. The > TSU repeats measurement at 20 microseconds intervals and automatically > updates the results of measurement. > > The TSU has no interrupts as well as no external pins. > > This patch adds Thermal Sensor Unit(TSU) driver for RZ/G2L SoC. > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > --- [...] > +static int rzg2l_thermal_probe(struct platform_device *pdev) > +{ [...] > + priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); ^^^^^^^^^^ Could use dev here. > + if (IS_ERR(priv->rstc)) > + return dev_err_probe(dev, PTR_ERR(priv->rstc), > + "failed to get cpg reset"); > + > + reset_control_deassert(priv->rstc); I'd return if reset_control_deassert() throws an error. Either way, Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> regards Philipp