mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
7ad68e2f97
Clean up the sysfs interface to regulators by only exposing the attributes that can be properly displayed. For example: when a particular regulator method is needed to display the value, only create that attribute when that method exists. This cleaned-up interface is much more comprehensible. Most regulators only support a subset of the possible methods, so often more than half the attributes would be meaningless. Many "not defined" values are no longer necessary. (But handling of out-of-range values still looks a bit iffy.) Documentation is updated to reflect that few of the attributes are *always* present, and to briefly explain why a regulator may not have a given attribute. This adds object code, about a dozen bytes more than was removed by the preceding patch, but saves a bunch of per-regulator data associated with the now-removed attributes. So there's a net reduction in memory footprint. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> |
||
---|---|---|
.. | ||
debugfs-pktcdvd | ||
procfs-diskstats | ||
sysfs-block | ||
sysfs-bus-css | ||
sysfs-bus-pci | ||
sysfs-bus-umc | ||
sysfs-bus-usb | ||
sysfs-bus-usb-devices-usbsevseg | ||
sysfs-c2port | ||
sysfs-class | ||
sysfs-class-bdi | ||
sysfs-class-pktcdvd | ||
sysfs-class-regulator | ||
sysfs-class-usb_host | ||
sysfs-class-uwb_rc | ||
sysfs-dev | ||
sysfs-devices | ||
sysfs-devices-memory | ||
sysfs-firmware-acpi | ||
sysfs-firmware-memmap | ||
sysfs-firmware-sgi_uv | ||
sysfs-gpio | ||
sysfs-ibft | ||
sysfs-kernel-mm | ||
sysfs-kernel-mm-hugepages | ||
sysfs-kernel-uids | ||
sysfs-ocfs2 | ||
sysfs-power | ||
sysfs-profiling | ||
sysfs-wusb_cbaf |