summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2016-03-31 16:40:05 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-04-01 13:00:07 +0200
commitc0c508a418f9daeb49bf9c387c84d89381b28540 (patch)
treedd3b2d3d3fb6519659ba0aeb78096a9d865de366 /drivers/i2c/Kconfig
parent8dcf32175b4e1817ea037a051f10dd7823e52344 (diff)
downloadop-kernel-dev-c0c508a418f9daeb49bf9c387c84d89381b28540.zip
op-kernel-dev-c0c508a418f9daeb49bf9c387c84d89381b28540.tar.gz
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 'drivers/i2c/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud