android_kernel_xiaomi_sm8350/Documentation/ABI/testing
David Brownell 7ad68e2f97 regulator: sysfs attribute reduction (v2)
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>
2009-01-08 20:10:30 +00:00
..
debugfs-pktcdvd
procfs-diskstats
sysfs-block
sysfs-bus-css
sysfs-bus-pci
sysfs-bus-umc
sysfs-bus-usb Merge branch 'master' into for-upstream 2008-10-20 16:07:19 +01:00
sysfs-bus-usb-devices-usbsevseg USB: Added driver for a Delcom USB 7-segment LED Display 2008-10-17 14:40:51 -07:00
sysfs-c2port Add c2 port support 2008-11-12 17:17:18 -08:00
sysfs-class
sysfs-class-bdi
sysfs-class-pktcdvd
sysfs-class-regulator regulator: sysfs attribute reduction (v2) 2009-01-08 20:10:30 +00:00
sysfs-class-usb_host
sysfs-class-uwb_rc uwb: add basic radio manager 2008-11-19 14:46:33 +00:00
sysfs-dev
sysfs-devices
sysfs-devices-memory mm: show node to memory section relationship with symlinks in sysfs 2009-01-06 15:59:00 -08:00
sysfs-firmware-acpi ACPI: bugfix reporting of event handler status 2008-10-28 01:53:19 -04:00
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 profiling: dynamically enable readprofile at runtime 2008-10-16 11:21:31 -07:00
sysfs-wusb_cbaf