[PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration
Pawel Moll
pawel.moll at arm.com
Wed Feb 12 06:59:27 EST 2014
On Wed, 2014-02-12 at 11:56 +0000, Pawel Moll wrote:
> > Third, I noticed that the 'label' attribute is always created but returns
> > -ENOENT if there is no label. A much better implementation would be to use
> > .is_visible and not create the label attribute if its devicetree entry
> > does not exist. I don't know how libsensors reacts to -ENOENT on a read,
> > but no matter how it does react, it is pretty much undefined.
> > Again, that should be handled in a separate patch.
Missed that one - will do as well.
Pawel
More information about the linux-arm-kernel
mailing list