On Fri, Sep 16, 2022 at 11:47:08PM +0800, Mengda Chen wrote: > From: Liang He <windhl@xxxxxxx> > > In gsc_hwmon_get_devtree_pdata(), we should call of_node_get() before > the of_find_compatible_node() which will automatically call > of_node_put() for the 'from' argument. > > Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support") > Signed-off-by: Liang He <windhl@xxxxxxx> > Co-developed-by: Mengda Chen <chenmengda2009@xxxxxxx> > Signed-off-by: Mengda Chen <chenmengda2009@xxxxxxx> Applied. Thanks, Guenter