doesn't have associated OF
node devm_hwmon_device_register() returns error which ultimately causes
failure of the PHY driver's probe function.
Fixes: 4e5e4705bf69 ("thermal: introduce device tree parser")
Signed-off-by: Peter Mamonov
Reviewed-by: Andrew Lunn
Cc: sta...@vger.ker
Hi, Andrew,
On Thu, Sep 19, 2019 at 04:50:16AM +0200, Andrew Lunn wrote:
> On Thu, Sep 19, 2019 at 12:38:37AM +0300, Peter Mamonov wrote:
> > Hello,
> >
> > Some time ago I've discovered that probe functions of certain Marvell PHYs
> > fail if both HWMON a
registers hwmon device for the built-in temperature sensor (see
drivers/net/phy/marvell.c). Since the sensor doesn't have associated OF
node devm_hwmon_device_register() returns error which ultimately causes
failure of the PHY driver's probe function.
Signed-off-by: Peter Mamonov
---
drivers