diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2016-03-31 17:40:05 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-04-01 13:00:07 +0200 |
commit | c0c508a418f9daeb49bf9c387c84d89381b28540 (patch) | |
tree | dd3b2d3d3fb6519659ba0aeb78096a9d865de366 /Documentation | |
parent | i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE (diff) | |
download | linux-c0c508a418f9daeb49bf9c387c84d89381b28540.tar.xz linux-c0c508a418f9daeb49bf9c387c84d89381b28540.zip |
i2c: mux: demux-pinctrl: Clean up sysfs attributes
sysfs attributes should use the same format for reads and writes,
rather than pretty-printing on read.
* Make the "cur_master" attribute read back as just the name of the
master
* Expose the list of all masters as a read-only "available_masters"
attribute, using space separators as in similar attributes of other
devices
Also, spell out "cur_master" in full as "current_master".
Fixes: 50a5ba876908 ("i2c: mux: demux-pinctrl: add driver")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions