From: Andrew Lunn <and...@lunn.ch> Date: Tue, 4 Sep 2018 04:23:56 +0200
> Not all SFPs implement the registers containing sensor limits and > alarms. Luckily, there is a bit indicating if they are implemented or > not. Add checking for this bit, when deciding if the hwmon attributes > should be visible. > > Fixes: 1323061a018a ("net: phy: sfp: Add HWMON support for module sensors") > Signed-off-by: Andrew Lunn <and...@lunn.ch> Applied, thanks Andrew.